<?xml version="1.0" encoding="UTF-8" ?>
<DataIntegratorExport repositoryVersion="12.2.2.0000" productVersion="12.2.3.2">
<DIDatabaseDatastore name="SRCSTAGING_DS" typeId="3" >
<DIAttributes>
<DIAttribute name="DBLiveLoad" value="no"/>
<DIAttribute name="application_type" value="Custom"/>
<DIAttribute name="cdc_enabled" value="no"/>
<DIAttribute name="datastore_repotype" value="local"/>
<DIAttribute name="ds_configuration_enabled" value="yes"/>
<DIAttribute name="ds_configurations" hasNestedXMLTree ="true">

<DSConfigurations>
<DSConfiguration default="true" name="Default">
<case_sensitive>no</case_sensitive>
<database_type>Microsoft_SQL_Server</database_type>
<db_alias_name1>SRCSTAGING_ALIAS</db_alias_name1>
<db_alias_user1>dws</db_alias_user1>
<loader_xact_size>1000</loader_xact_size>
<locale_codepage>&lt;default&gt;</locale_codepage>
<locale_language>&lt;default&gt;</locale_language>
<locale_territory>&lt;default&gt;</locale_territory>
<mssql_windows_authentication>no</mssql_windows_authentication>
<password>;085A6DF93DA01ED1DEA3BB1DC1D656C0EF56E65913FB53605B75804428674DE2</password>
<sql_server_database>XsStaging</sql_server_database>
<sql_server_dataserver>localhost,1433</sql_server_dataserver>
<sql_server_version>Microsoft SQL Server 2005</sql_server_version>
<user>dws</user>
</DSConfiguration>
</DSConfigurations>

</DIAttribute>
<DIAttribute name="enable_data_transfer" value="yes"/>
<DIAttribute name="import_unknown_type" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="unknown_type_size" value="255"/>
</DIAttributes>
</DIDatabaseDatastore>
<DIDatabaseDatastore name="DWSTAGING_DS" typeId="3" >
<DIAttributes>
<DIAttribute name="DBLiveLoad" value="no"/>
<DIAttribute name="application_type" value="Custom"/>
<DIAttribute name="cdc_enabled" value="no"/>
<DIAttribute name="datastore_repotype" value="local"/>
<DIAttribute name="ds_configuration_enabled" value="yes"/>
<DIAttribute name="ds_configurations" hasNestedXMLTree ="true">

<DSConfigurations>
<DSConfiguration default="true" name="Default">
<case_sensitive>no</case_sensitive>
<database_type>Microsoft_SQL_Server</database_type>
<db_alias_name1>DWSTAGING_ALIAS</db_alias_name1>
<db_alias_user1>dwst</db_alias_user1>
<loader_xact_size>1000</loader_xact_size>
<locale_codepage>&lt;default&gt;</locale_codepage>
<locale_language>&lt;default&gt;</locale_language>
<locale_territory>&lt;default&gt;</locale_territory>
<mssql_windows_authentication>no</mssql_windows_authentication>
<password>;9FA3E42F1AB29C1A240FBFA241A83F373415575169CA3130A2F2C50213AED23D</password>
<sql_server_database>XsStaging</sql_server_database>
<sql_server_dataserver>localhost,1433</sql_server_dataserver>
<sql_server_version>Microsoft SQL Server 2005</sql_server_version>
<user>dwst</user>
</DSConfiguration>
</DSConfigurations>

</DIAttribute>
<DIAttribute name="enable_data_transfer" value="yes"/>
<DIAttribute name="import_unknown_type" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="unknown_type_size" value="255"/>
</DIAttributes>
</DIDatabaseDatastore>
<DIDatabaseDatastore name="DW_ABC_DS" typeId="3" >
<DIAttributes>
<DIAttribute name="DBLiveLoad" value="no"/>
<DIAttribute name="application_type" value="Custom"/>
<DIAttribute name="cdc_enabled" value="no"/>
<DIAttribute name="datastore_repotype" value="local"/>
<DIAttribute name="ds_configuration_enabled" value="yes"/>
<DIAttribute name="ds_configurations" hasNestedXMLTree ="true">

<DSConfigurations>
<DSConfiguration default="true" name="Default">
<case_sensitive>no</case_sensitive>
<database_type>Microsoft_SQL_Server</database_type>
<db_alias_name1>DW_ABC_ALIAS</db_alias_name1>
<db_alias_user1>dwabc</db_alias_user1>
<loader_xact_size>1000</loader_xact_size>
<locale_codepage>&lt;default&gt;</locale_codepage>
<locale_language>&lt;default&gt;</locale_language>
<locale_territory>&lt;default&gt;</locale_territory>
<mssql_windows_authentication>no</mssql_windows_authentication>
<password>;89770408927C5ECAB76D9855E0DA5FE4F25B0E2949263E3397D5BD72B1A30930</password>
<sql_server_database>XsStaging</sql_server_database>
<sql_server_dataserver>localhost,1433</sql_server_dataserver>
<sql_server_version>Microsoft SQL Server 2005</sql_server_version>
<user>dwabc</user>
</DSConfiguration>
</DSConfigurations>

</DIAttribute>
<DIAttribute name="enable_data_transfer" value="yes"/>
<DIAttribute name="import_unknown_type" value="no"/>
<DIAttribute name="name" value="DW_ABC_DS"/>
<DIAttribute name="unknown_type_size" value="255"/>
</DIAttributes>
</DIDatabaseDatastore>
<DITable name="CSA_BILLING_SSI" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="SERVICE_OFFERING_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="SUBSCRIPTION_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="EXCHANGE_LOC_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="BILLING_PERIOD_BUSINESS_KEY" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="RECURRING_FLAG" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_OFFERING_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="EXCHANGE_BASE_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="CURRENCY_LOC" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="SERVICE_BLUEPRINT_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="AMOUNT_BASE" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="EXCHANGE_BASE_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_INSTANCE_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="AMOUNT_LOC" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_BLUEPRINT_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SUBSCRIPTION_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="CURRENCY_BASE" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_INSTANCE_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="BILLING_PERIOD_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="EXCHANGE_LOC_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_CSA_BILLING_SSI" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="CSA_BILLING_SSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="EXCHANGE_LOC_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_OFFERING_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="EXCHANGE_BASE_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="AMOUNT_LOC" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="EXCHANGE_BASE_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_OFFERING_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_BLUEPRINT_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="BILLING_PERIOD_BUSINESS_KEY" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="CURRENCY_BASE" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="BILLING_PERIOD_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_INSTANCE_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="RECURRING_FLAG" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="AMOUNT_BASE" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="SUBSCRIPTION_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="SERVICE_BLUEPRINT_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="EXCHANGE_LOC_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_INSTANCE_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="CURRENCY_LOC" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="SUBSCRIPTION_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_CSA_BILLING_SSNP" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="CSA_BILLING_SSNP_CTRL" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
</DITable>
<DITable name="CSA_COMPONENT_SSI" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="RESOURCE_PROVIDER_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="PARENT_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_INSTANCE_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="COMPONENT_TYPE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_INSTANCE_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="PARENT_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="VIRTUAL_INF_ID" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="COMPONENT_NAME" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="RESOURCE_PROVIDER_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="DISPLAY_LABEL" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_CSA_COMPONENT_SSI" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="CSA_COMPONENT_SSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="COMPONENT_TYPE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="DISPLAY_LABEL" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="SERVICE_INSTANCE_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="PARENT_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="VIRTUAL_INF_ID" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="COMPONENT_NAME" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="RESOURCE_PROVIDER_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="SERVICE_INSTANCE_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="PARENT_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="RESOURCE_PROVIDER_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_CSA_COMPONENT_SSNP" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="CSA_COMPONENT_SSNP_CTRL" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
</DITable>
<DITable name="CSA_ORG_SSI" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="ORG_TYPE" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="PARENT_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="ORG_NAME_ALT" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="FLAG_COMPANY" datatype="VARCHAR" size="1" nullable="false" >
</DIColumn>
<DIColumn name="MANAGER_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="ORG_NAME" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="PARENT_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="MANAGER_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="FLAG_INTERNAL" datatype="VARCHAR" size="1" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_CSA_ORG_SSI" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="CSA_ORG_SSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="ORG_NAME_ALT" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="ORG_NAME" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="PARENT_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="FLAG_COMPANY" datatype="VARCHAR" size="1" nullable="false" >
</DIColumn>
<DIColumn name="ORG_TYPE" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="MANAGER_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MANAGER_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="FLAG_INTERNAL" datatype="VARCHAR" size="1" nullable="false" >
</DIColumn>
<DIColumn name="PARENT_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_CSA_ORG_SSNP" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="CSA_ORG_SSNP_CTRL" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
</DITable>
<DITable name="CSA_PERSON_SSI" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="LOCATION_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="LOCATION_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="PARENT_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="DATE_END_LOC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="DATE_END_UTC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="DEPT_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="PERSON_NAME" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="PARENT_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="DATE_START_LOC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="DATE_START_UTC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="PRIMARY_EMAIL" datatype="VARCHAR" size="255" nullable="true" >
</DIColumn>
<DIColumn name="DEPT_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="PERSON_NAME_ALT" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_CSA_PERSON_SSI" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="CSA_PERSON_SSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="DEPT_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="DATE_END_UTC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="PERSON_NAME_ALT" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="PERSON_NAME" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="LOCATION_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="LOCATION_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="PARENT_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="DATE_END_LOC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="DATE_START_UTC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="DATE_START_LOC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="PRIMARY_EMAIL" datatype="VARCHAR" size="255" nullable="true" >
</DIColumn>
<DIColumn name="DEPT_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="PARENT_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_CSA_PERSON_SSNP" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="CSA_PERSON_SSNP_CTRL" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
</DITable>
<DITable name="CSA_SERVICE_BLUEPRINT_SSI" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="NAME" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="SVC_BLUPRT_TYPE" datatype="VARCHAR" size="50" nullable="true" >
</DIColumn>
<DIColumn name="DISPLAY_LABEL" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_CSA_SERVICE_BLUEPRINT_SSI" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="CSA_SERVICE_BLUEPRINT_SSNP_CTRL" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
</DITable>
<DITable name="CSA_SERVICE_INSTANCE_SSI" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="SVC_INS_STATE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_BLUEPRINT_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_SUBCRIPTION_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="SERVICE_BLUEPRINT_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_SUBCRIPTION_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="NAME" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="DISPLAY_LABEL" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_CSA_SERVICE_INSTANCE_SSI" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="CSA_SERVICE_INSTANCE_SSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="DISPLAY_LABEL" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_SUBCRIPTION_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="SERVICE_BLUEPRINT_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_SUBCRIPTION_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="SERVICE_BLUEPRINT_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="NAME" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SVC_INS_STATE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_CSA_SERVICE_INSTANCE_SSNP" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="CSA_SERVICE_INSTANCE_SSNP_CTRL" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
</DITable>
<DITable name="CSA_SERVICE_OFFERING_SSI" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_BLUEPRINT_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="CATEGORY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SVC_OFFERING_STATE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="NAME" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="DISPLAY_LABEL" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_BLUEPRINT_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_CSA_SERVICE_OFFERING_SSI" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="CSA_SERVICE_OFFERING_SSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_BLUEPRINT_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="CATEGORY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_BLUEPRINT_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="NAME" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SVC_OFFERING_STATE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="DISPLAY_LABEL" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_CSA_SERVICE_OFFERING_SSNP" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="CSA_SERVICE_OFFERING_SSNP_CTRL" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
</DITable>
<DITable name="CSA_SUBSCRIPTION_SSI" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="CURRENCY" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="DATE_START_UTC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_OFFERING_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="DATE_START_LOC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="RECURRING_PRICE" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="DATE_END_UTC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="RECURRING_PERIOD" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="ORG_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="PERSON_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="NAME" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="DATE_SUBMITTED_UTC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="INITIAL_PRICE" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_OFFERING_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="DATE_END_LOC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="STATUS" datatype="VARCHAR" size="20" nullable="true" >
</DIColumn>
<DIColumn name="PERSON_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="DESCRIPTION" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="DATE_SUBMITTED_LOC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="ORG_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_CSA_SUBSCRIPTION_SSI" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="CSA_SUBSCRIPTION_SSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="STATUS" datatype="VARCHAR" size="20" nullable="true" >
</DIColumn>
<DIColumn name="RECURRING_PERIOD" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="ORG_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="DATE_START_LOC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="DATE_SUBMITTED_LOC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="DATE_END_UTC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="INITIAL_PRICE" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_OFFERING_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="RECURRING_PRICE" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="PERSON_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="CURRENCY" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="NAME" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="DATE_END_LOC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="ORG_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="DATE_SUBMITTED_UTC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="DESCRIPTION" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="PERSON_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_OFFERING_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="DATE_START_UTC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_CSA_SUBSCRIPTION_SSNP" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="CSA_SUBSCRIPTION_SSNP_CTRL" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
</DITable>
<DITable name="BILLING_ENTERPRISE_XREF" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="UPDATE_STATUS" datatype="VARCHAR" size="20" nullable="false" >
</DIColumn>
<DIColumn name="SOURCE_INTEGRATION_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="BUSINESS_KEYVALUE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MODIFIEDDATETIME" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="CREATEDDATETIME" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="ENTERPRISE_XREF_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_BILLING_ENTERPRISE_XREF" unique="true">
<DIIndexColumn name="ENTERPRISE_XREF_ID" />
</DITableIndex>
</DITable>
<DITable name="BILLING_HISTORY_ENTERPRISE_XREF" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="UPDATE_STATUS" datatype="VARCHAR" size="20" nullable="false" >
</DIColumn>
<DIColumn name="CREATEDDATETIME" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MODIFIEDDATETIME" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="SOURCE_INTEGRATION_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="BUSINESS_KEYVALUE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="ENTERPRISE_XREF_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_BILLING_HISTORY_ENTERPRISE_XREF" unique="true">
<DIIndexColumn name="ENTERPRISE_XREF_ID" />
</DITableIndex>
</DITable>
<DITable name="BILLING_SSI_V" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="AMOUNT_BASE" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="AMOUNT_LOC" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="BILLING_PERIOD_BUSINESS_KEY" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="BILLING_PERIOD_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="CURRENCY_BASE" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="CURRENCY_LOC" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="EXCHANGE_BASE_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="EXCHANGE_BASE_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="EXCHANGE_LOC_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="EXCHANGE_LOC_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="RECURRING_FLAG" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_BLUEPRINT_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_BLUEPRINT_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_INSTANCE_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_INSTANCE_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_OFFERING_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_OFFERING_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="SUBSCRIPTION_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SUBSCRIPTION_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_BILLING_SSI_V" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="COMPONENT_ENTERPRISE_XREF" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="UPDATE_STATUS" datatype="VARCHAR" size="20" nullable="false" >
</DIColumn>
<DIColumn name="SOURCE_INTEGRATION_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MODIFIEDDATETIME" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="BUSINESS_KEYVALUE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="CREATEDDATETIME" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="ENTERPRISE_XREF_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_COMPONENT_ENTERPRISE_XREF" unique="true">
<DIIndexColumn name="ENTERPRISE_XREF_ID" />
</DITableIndex>
</DITable>
<DITable name="COMPONENT_HISTORY_ENTERPRISE_XREF" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="BUSINESS_KEYVALUE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SOURCE_INTEGRATION_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="CREATEDDATETIME" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MODIFIEDDATETIME" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="ENTERPRISE_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="UPDATE_STATUS" datatype="VARCHAR" size="20" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="ENTERPRISE_XREF_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_COMPONENT_HISTORY_ENTERPRISE_XREF" unique="true">
<DIIndexColumn name="ENTERPRISE_XREF_ID" />
</DITableIndex>
</DITable>
<DITable name="COMPONENT_SSI_V" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="COMPONENT_NAME" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="COMPONENT_TYPE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="DISPLAY_LABEL" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="PARENT_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="PARENT_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="RESOURCE_PROVIDER_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="RESOURCE_PROVIDER_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_INSTANCE_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_INSTANCE_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="VIRTUAL_INF_ID" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_COMPONENT_SSI_V" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="EXCHANGE_ENTERPRISE_XREF" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="0 Seconds" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="BUSINESS_KEYVALUE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="CREATEDDATETIME" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="SOURCE_INTEGRATION_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="ENTERPRISE_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="UPDATE_STATUS" datatype="VARCHAR" size="20" nullable="false" >
</DIColumn>
<DIColumn name="MODIFIEDDATETIME" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="ENTERPRISE_XREF_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_EXCHANGE_ENTERPRISE_XREF" unique="true">
<DIIndexColumn name="ENTERPRISE_XREF_ID" />
</DITableIndex>
</DITable>
<DITable name="EXCHANGE_HISTORY_ENTERPRISE_XREF" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="0 Seconds" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MODIFIEDDATETIME" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="ENTERPRISE_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="UPDATE_STATUS" datatype="VARCHAR" size="20" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="BUSINESS_KEYVALUE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SOURCE_INTEGRATION_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="CREATEDDATETIME" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="ENTERPRISE_XREF_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_EXCHANGE_HISTORY_ENTERPRISE_XREF" unique="true">
<DIIndexColumn name="ENTERPRISE_XREF_ID" />
</DITableIndex>
</DITable>
<DITable name="LOCATION_ENTERPRISE_XREF" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="BUSINESS_KEYVALUE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MODIFIEDDATETIME" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="SOURCE_INTEGRATION_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="UPDATE_STATUS" datatype="VARCHAR" size="20" nullable="false" >
</DIColumn>
<DIColumn name="CREATEDDATETIME" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="ENTERPRISE_XREF_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_LOCATION_ENTERPRISE_XREF" unique="true">
<DIIndexColumn name="ENTERPRISE_XREF_ID" />
</DITableIndex>
</DITable>
<DITable name="LOCATION_HISTORY_ENTERPRISE_XREF" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="0 Seconds" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MODIFIEDDATETIME" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="SOURCE_INTEGRATION_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="CREATEDDATETIME" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="UPDATE_STATUS" datatype="VARCHAR" size="20" nullable="false" >
</DIColumn>
<DIColumn name="BUSINESS_KEYVALUE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="ENTERPRISE_XREF_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_LOCATION_HISTORY_ENTERPRISE_XREF" unique="true">
<DIIndexColumn name="ENTERPRISE_XREF_ID" />
</DITableIndex>
</DITable>
<DITable name="ORG_ENTERPRISE_XREF" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="CREATEDDATETIME" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="BUSINESS_KEYVALUE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SOURCE_INTEGRATION_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="ENTERPRISE_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="UPDATE_STATUS" datatype="VARCHAR" size="20" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MODIFIEDDATETIME" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="ENTERPRISE_XREF_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_ORG_ENTERPRISE_XREF" unique="true">
<DIIndexColumn name="ENTERPRISE_XREF_ID" />
</DITableIndex>
</DITable>
<DITable name="ORG_HISTORY_ENTERPRISE_XREF" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="UPDATE_STATUS" datatype="VARCHAR" size="20" nullable="false" >
</DIColumn>
<DIColumn name="CREATEDDATETIME" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="SOURCE_INTEGRATION_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MODIFIEDDATETIME" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="BUSINESS_KEYVALUE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="ENTERPRISE_XREF_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_ORG_HISTORY_ENTERPRISE_XREF" unique="true">
<DIIndexColumn name="ENTERPRISE_XREF_ID" />
</DITableIndex>
</DITable>
<DITable name="ORG_SSI_V" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="FLAG_COMPANY" datatype="VARCHAR" size="1" nullable="false" >
</DIColumn>
<DIColumn name="FLAG_INTERNAL" datatype="VARCHAR" size="1" nullable="false" >
</DIColumn>
<DIColumn name="MANAGER_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MANAGER_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="ORG_NAME" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="ORG_NAME_ALT" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="ORG_TYPE" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="PARENT_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="PARENT_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_ORG_SSI_V" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="PERSON_ENTERPRISE_XREF" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="SOURCE_INTEGRATION_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="CREATEDDATETIME" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="UPDATE_STATUS" datatype="VARCHAR" size="20" nullable="false" >
</DIColumn>
<DIColumn name="BUSINESS_KEYVALUE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MODIFIEDDATETIME" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="ENTERPRISE_XREF_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PERSON_ENTERPRISE_XREF" unique="true">
<DIIndexColumn name="ENTERPRISE_XREF_ID" />
</DITableIndex>
</DITable>
<DITable name="PERSON_HISTORY_ENTERPRISE_XREF" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="0 Seconds" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="BUSINESS_KEYVALUE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MODIFIEDDATETIME" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="CREATEDDATETIME" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="SOURCE_INTEGRATION_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="UPDATE_STATUS" datatype="VARCHAR" size="20" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="ENTERPRISE_XREF_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PERSON_HISTORY_ENTERPRISE_XREF" unique="true">
<DIIndexColumn name="ENTERPRISE_XREF_ID" />
</DITableIndex>
</DITable>
<DITable name="PERSON_SSI_V" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="DATE_END_LOC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="DATE_END_UTC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="DATE_START_LOC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="DATE_START_UTC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="DEPT_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="DEPT_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="LOCATION_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="LOCATION_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="PARENT_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="PARENT_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="PERSON_NAME" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="PERSON_NAME_ALT" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="PRIMARY_EMAIL" datatype="VARCHAR" size="255" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PERSON_SSI_V" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="SERVICE_BLUEPRINT_ENTERPRISE_XREF" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="UPDATE_STATUS" datatype="VARCHAR" size="20" nullable="false" >
</DIColumn>
<DIColumn name="BUSINESS_KEYVALUE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SOURCE_INTEGRATION_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="CREATEDDATETIME" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MODIFIEDDATETIME" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="ENTERPRISE_XREF_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_SERVICE_BLUEPRINT_ENTERPRISE_XREF" unique="true">
<DIIndexColumn name="ENTERPRISE_XREF_ID" />
</DITableIndex>
</DITable>
<DITable name="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="BUSINESS_KEYVALUE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SOURCE_INTEGRATION_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="UPDATE_STATUS" datatype="VARCHAR" size="20" nullable="false" >
</DIColumn>
<DIColumn name="MODIFIEDDATETIME" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="CREATEDDATETIME" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="ENTERPRISE_XREF_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF" unique="true">
<DIIndexColumn name="ENTERPRISE_XREF_ID" />
</DITableIndex>
</DITable>
<DITable name="SERVICE_BLUEPRINT_SSI_V" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="DISPLAY_LABEL" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="NAME" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SVC_BLUPRT_TYPE" datatype="VARCHAR" size="50" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_SERVICE_BLUEPRINT_SSI_V" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="SERVICE_INSTANCE_ENTERPRISE_XREF" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="CREATEDDATETIME" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="BUSINESS_KEYVALUE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SOURCE_INTEGRATION_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="UPDATE_STATUS" datatype="VARCHAR" size="20" nullable="false" >
</DIColumn>
<DIColumn name="MODIFIEDDATETIME" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="ENTERPRISE_XREF_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_SERVICE_INSTANCE_ENTERPRISE_XREF" unique="true">
<DIIndexColumn name="ENTERPRISE_XREF_ID" />
</DITableIndex>
</DITable>
<DITable name="SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MODIFIEDDATETIME" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="UPDATE_STATUS" datatype="VARCHAR" size="20" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="BUSINESS_KEYVALUE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SOURCE_INTEGRATION_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="CREATEDDATETIME" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="ENTERPRISE_XREF_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF" unique="true">
<DIIndexColumn name="ENTERPRISE_XREF_ID" />
</DITableIndex>
</DITable>
<DITable name="SERVICE_INSTANCE_SSI_V" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="DISPLAY_LABEL" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="NAME" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_BLUEPRINT_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_BLUEPRINT_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_SUBCRIPTION_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_SUBCRIPTION_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="SVC_INS_STATE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_SERVICE_INSTANCE_SSI_V" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="SERVICE_OFFERING_ENTERPRISE_XREF" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="UPDATE_STATUS" datatype="VARCHAR" size="20" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="BUSINESS_KEYVALUE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="CREATEDDATETIME" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="SOURCE_INTEGRATION_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MODIFIEDDATETIME" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="ENTERPRISE_XREF_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_SERVICE_OFFERING_ENTERPRISE_XREF" unique="true">
<DIIndexColumn name="ENTERPRISE_XREF_ID" />
</DITableIndex>
</DITable>
<DITable name="SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="BUSINESS_KEYVALUE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MODIFIEDDATETIME" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="CREATEDDATETIME" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="UPDATE_STATUS" datatype="VARCHAR" size="20" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="SOURCE_INTEGRATION_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="ENTERPRISE_XREF_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF" unique="true">
<DIIndexColumn name="ENTERPRISE_XREF_ID" />
</DITableIndex>
</DITable>
<DITable name="SERVICE_OFFERING_SSI_V" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="CATEGORY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="DISPLAY_LABEL" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="NAME" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_BLUEPRINT_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_BLUEPRINT_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="SVC_OFFERING_STATE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_SERVICE_OFFERING_SSI_V" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="SUBSCRIPTION_ENTERPRISE_XREF" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="CREATEDDATETIME" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="SOURCE_INTEGRATION_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="ENTERPRISE_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="UPDATE_STATUS" datatype="VARCHAR" size="20" nullable="false" >
</DIColumn>
<DIColumn name="MODIFIEDDATETIME" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="BUSINESS_KEYVALUE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="ENTERPRISE_XREF_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_SUBSCRIPTION_ENTERPRISE_XREF" unique="true">
<DIIndexColumn name="ENTERPRISE_XREF_ID" />
</DITableIndex>
</DITable>
<DITable name="SUBSCRIPTION_HISTORY_ENTERPRISE_XREF" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="SOURCE_INTEGRATION_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="UPDATE_STATUS" datatype="VARCHAR" size="20" nullable="false" >
</DIColumn>
<DIColumn name="ENTERPRISE_XREF_ID" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MODIFIEDDATETIME" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="CREATEDDATETIME" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="BUSINESS_KEYVALUE" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="ENTERPRISE_XREF_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_SUBSCRIPTION_HISTORY_ENTERPRISE_XREF" unique="true">
<DIIndexColumn name="ENTERPRISE_XREF_ID" />
</DITableIndex>
</DITable>
<DITable name="SUBSCRIPTION_SSI_V" owner="dwst" datastore="DWSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="DWSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="CURRENCY" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="DATE_END_LOC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="DATE_END_UTC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="DATE_START_LOC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="DATE_START_UTC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="DATE_SUBMITTED_LOC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="DATE_SUBMITTED_UTC" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="DESCRIPTION" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="INITIAL_PRICE" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="NAME" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="ORG_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="ORG_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="PERSON_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="PERSON_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="RECURRING_PERIOD" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="RECURRING_PRICE" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_OFFERING_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SERVICE_OFFERING_ENTERPRISE_KEY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="STATUS" datatype="VARCHAR" size="20" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_SUBSCRIPTION_SSI_V" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DIScriptFunction name="ABC_ENDJB_FN" typeId="11" >
<DIUIOptions>
<DIAttribute name="ui_script_text" value="#UPDATE STEP_RUNTIME RECORD WITH SUCCESS STATUS AND END TIME&#xA;#GET JOB_ID&#xA;&#xA;$l_status = 'SUCCESS';&#xA;#$now = sysdate();&#xA;&#xA;$l_wf_failed_count = sql('DW_ABC_DS',' select count(status) from JOB_STREAM_STEP_DETAIL_RT&#xA;                    where MD_PROCESS_ID = {$p_process_id} AND (status = \'ERROR\' or status = \'MAX_EXECUTION_TIME_EXCEEDED\')');&#xA;ETL_PRINT( '**     wf_failed_count = {$l_wf_failed_count}' );&#xA;&#xA;$l_wf_success_count = sql('DW_ABC_DS',' select count(status) from JOB_STREAM_STEP_DETAIL_RT&#xA;                     where MD_PROCESS_ID = {$p_process_id} AND status = \'SUCCESS\'');&#xA;ETL_PRINT( '**     wf_success_count = {$l_wf_success_count}' );&#xA;&#xA;$l_am_failed_count = sql('DW_ABC_DS',' select count(status) from AUDIT_METRIC&#xA;                    where MD_PROCESS_ID = {$p_process_id} AND (status = \'ERROR\' or status = \'MAX_EXECUTION_TIME_EXCEEDED\')');&#xA;ETL_PRINT( '**     am_failed_count = {$l_am_failed_count}' );&#xA;&#xA;$l_am_warning_count = sql('DW_ABC_DS',' select count(status) from AUDIT_METRIC&#xA;                    where MD_PROCESS_ID = {$p_process_id} AND status = \'WARNING\'');&#xA;ETL_PRINT( '**     am_warning_count = {$l_am_warning_count}' );&#xA;&#xA;$l_am_success_count = sql('DW_ABC_DS',' select count(status) from AUDIT_METRIC&#xA;                    where MD_PROCESS_ID = {$p_process_id} AND status = \'SUCCESS\'');&#xA;ETL_PRINT( '**     am_success_count = {$l_am_success_count}' );&#xA;&#xA;$l_status_info = 'WFs statuses: success: ' || $l_wf_success_count || ', error: '  || $l_wf_failed_count ||' || Audit metrics: success: ' || $l_am_success_count || ', warning: ' || $l_am_warning_count || ', error: ' || $l_am_failed_count || '.';&#xA;&#xA;if ($l_wf_failed_count &gt; 0)&#xA;begin&#xA;&#x9;$l_status = 'ERROR';&#xA;&#x9;$l_reco_action =  'Drill to WF level to access the error message. ';&#xA;end&#x9;&#xA;else if ($l_am_failed_count &gt; 0)&#xA;begin&#xA;&#x9;$l_status = 'ERROR'; &#xA;&#x9;$l_reco_action = $l_reco_action || 'Refer to failed metrics. ';&#xA;end&#xA;else if ($l_am_warning_count &gt; 0)&#xA;begin&#xA;&#x9;$l_status = 'WARNING';&#xA;&#x9;$l_reco_action = $l_reco_action || 'Check WARNING metrics. ';&#xA;end&#xA;&#xA;&#xA;#sql('DW_ABC_DS','update JOB_STREAM_STEP_RT&#xA;#               set STATUS = {$l_status}, STATE = \'FINISHED\' , END_TIME = {sysdate()}, STATUS_INFO = {$l_status_info}, RECO_ACTION = {$l_reco_action}&#xA;#               where MD_PROCESS_ID = {$p_process_id}');&#xA;&#xA;sql('DW_ABC_DS','update JOB_STREAM_STEP_RT&#xA;               set STATUS = {$l_status}, STATE = \'FINISHED\' , END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127), STATUS_INFO = {$l_status_info}, RECO_ACTION = {$l_reco_action}&#xA;               where MD_PROCESS_ID = {$p_process_id}');&#xA;ETL_PRINT( '**' );&#xA;ETL_PRINT( '**' );&#xA;ETL_PRINT( '** The Job {job_name()} is ending' );&#xA;ETL_PRINT( '**   status: {$l_status}' );&#xA;ETL_PRINT( '**   explanation: {$l_status_info})' );&#xA;ETL_PRINT( '********************************' );&#xA;ETL_PRINT( '********************************' );&#xA;&#xA;return NULL;&#xA;"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="Acta_user_func_category" value="User_Script_Function"/>
</DIProperties>
<DIParameters><DIElement paramType="IN" name="$p_process_id" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
</DIParameters>
<DIVariables><DIElement paramType="LOCAL" name="$l_wf_failed_count" datatype="INT" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_status" datatype="VARCHAR" size="10" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_wf_success_count" datatype="INT" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_status_info" datatype="VARCHAR" size="400" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_am_failed_count" datatype="INT" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_am_warning_count" datatype="INT" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_am_success_count" datatype="INT" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_reco_action" datatype="VARCHAR" size="4000" >
</DIElement>
</DIVariables>
<DIFunctionReturn datatype="INT" />
<DISteps>
<DIAssignmentStep typeId="12" variable="$l_status" >
<DIExpression isString="true" expr="'SUCCESS'" >
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$l_wf_failed_count" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', ' select count(status) from JOB_STREAM_STEP_DETAIL_RT&#xA;                    where MD_PROCESS_ID = {$p_process_id} AND (status = \'ERROR\' or status = \'MAX_EXECUTION_TIME_EXCEEDED\')')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value=" select count(status) from JOB_STREAM_STEP_DETAIL_RT&#xA;                    where MD_PROCESS_ID = {$p_process_id} AND (status = 'ERROR' or status = 'MAX_EXECUTION_TIME_EXCEEDED')" datatype="VARCHAR" size="175" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('**     wf_failed_count = {$l_wf_failed_count}')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="**     wf_failed_count = {$l_wf_failed_count}" datatype="VARCHAR" size="45" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIAssignmentStep typeId="12" variable="$l_wf_success_count" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', ' select count(status) from JOB_STREAM_STEP_DETAIL_RT&#xA;                     where MD_PROCESS_ID = {$p_process_id} AND status = \'SUCCESS\'')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value=" select count(status) from JOB_STREAM_STEP_DETAIL_RT&#xA;                     where MD_PROCESS_ID = {$p_process_id} AND status = 'SUCCESS'" datatype="VARCHAR" size="134" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('**     wf_success_count = {$l_wf_success_count}')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="**     wf_success_count = {$l_wf_success_count}" datatype="VARCHAR" size="47" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIAssignmentStep typeId="12" variable="$l_am_failed_count" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', ' select count(status) from AUDIT_METRIC&#xA;                    where MD_PROCESS_ID = {$p_process_id} AND (status = \'ERROR\' or status = \'MAX_EXECUTION_TIME_EXCEEDED\')')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value=" select count(status) from AUDIT_METRIC&#xA;                    where MD_PROCESS_ID = {$p_process_id} AND (status = 'ERROR' or status = 'MAX_EXECUTION_TIME_EXCEEDED')" datatype="VARCHAR" size="162" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('**     am_failed_count = {$l_am_failed_count}')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="**     am_failed_count = {$l_am_failed_count}" datatype="VARCHAR" size="45" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIAssignmentStep typeId="12" variable="$l_am_warning_count" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', ' select count(status) from AUDIT_METRIC&#xA;                    where MD_PROCESS_ID = {$p_process_id} AND status = \'WARNING\'')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value=" select count(status) from AUDIT_METRIC&#xA;                    where MD_PROCESS_ID = {$p_process_id} AND status = 'WARNING'" datatype="VARCHAR" size="120" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('**     am_warning_count = {$l_am_warning_count}')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="**     am_warning_count = {$l_am_warning_count}" datatype="VARCHAR" size="47" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIAssignmentStep typeId="12" variable="$l_am_success_count" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', ' select count(status) from AUDIT_METRIC&#xA;                    where MD_PROCESS_ID = {$p_process_id} AND status = \'SUCCESS\'')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value=" select count(status) from AUDIT_METRIC&#xA;                    where MD_PROCESS_ID = {$p_process_id} AND status = 'SUCCESS'" datatype="VARCHAR" size="120" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('**     am_success_count = {$l_am_success_count}')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="**     am_success_count = {$l_am_success_count}" datatype="VARCHAR" size="47" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIAssignmentStep typeId="12" variable="$l_status_info" >
<DIExpression isString="true" expr="(((((((((('WFs statuses: success: ' || $l_wf_success_count) || ', error: ') || $l_wf_failed_count) || ' || Audit metrics: success: ') || $l_am_success_count) || ', warning: ') || $l_am_warning_count) || ', error: ') || $l_am_failed_count) || '.')" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="WFs statuses: success: " datatype="VARCHAR" size="23" />
<VARIABLE_REFERENCE name="$l_wf_success_count" />
</CONCAT>
<CONSTANT value=", error: " datatype="VARCHAR" size="9" />
</CONCAT>
<VARIABLE_REFERENCE name="$l_wf_failed_count" />
</CONCAT>
<CONSTANT value=" || Audit metrics: success: " datatype="VARCHAR" size="28" />
</CONCAT>
<VARIABLE_REFERENCE name="$l_am_success_count" />
</CONCAT>
<CONSTANT value=", warning: " datatype="VARCHAR" size="11" />
</CONCAT>
<VARIABLE_REFERENCE name="$l_am_warning_count" />
</CONCAT>
<CONSTANT value=", error: " datatype="VARCHAR" size="9" />
</CONCAT>
<VARIABLE_REFERENCE name="$l_am_failed_count" />
</CONCAT>
<CONSTANT value="." datatype="VARCHAR" size="1" />
</CONCAT>
</DIExpression>
</DIAssignmentStep>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="($l_wf_failed_count &gt; 0)" >
<LOGICAL_OP op="GT">
<VARIABLE_REFERENCE name="$l_wf_failed_count" />
<CONSTANT value="0" datatype="INT" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIAssignmentStep typeId="12" variable="$l_status" >
<DIExpression isString="true" expr="'ERROR'" >
<CONSTANT value="ERROR" datatype="VARCHAR" size="5" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$l_reco_action" >
<DIExpression isString="true" expr="'Drill to WF level to access the error message. '" >
<CONSTANT value="Drill to WF level to access the error message. " datatype="VARCHAR" size="47" />
</DIExpression>
</DIAssignmentStep>
</DIIf>
<DIElse>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="($l_am_failed_count &gt; 0)" >
<LOGICAL_OP op="GT">
<VARIABLE_REFERENCE name="$l_am_failed_count" />
<CONSTANT value="0" datatype="INT" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIAssignmentStep typeId="12" variable="$l_status" >
<DIExpression isString="true" expr="'ERROR'" >
<CONSTANT value="ERROR" datatype="VARCHAR" size="5" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$l_reco_action" >
<DIExpression isString="true" expr="($l_reco_action || 'Refer to failed metrics. ')" >
<CONCAT>
<VARIABLE_REFERENCE name="$l_reco_action" />
<CONSTANT value="Refer to failed metrics. " datatype="VARCHAR" size="25" />
</CONCAT>
</DIExpression>
</DIAssignmentStep>
</DIIf>
<DIElse>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="($l_am_warning_count &gt; 0)" >
<LOGICAL_OP op="GT">
<VARIABLE_REFERENCE name="$l_am_warning_count" />
<CONSTANT value="0" datatype="INT" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIAssignmentStep typeId="12" variable="$l_status" >
<DIExpression isString="true" expr="'WARNING'" >
<CONSTANT value="WARNING" datatype="VARCHAR" size="7" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$l_reco_action" >
<DIExpression isString="true" expr="($l_reco_action || 'Check WARNING metrics. ')" >
<CONCAT>
<VARIABLE_REFERENCE name="$l_reco_action" />
<CONSTANT value="Check WARNING metrics. " datatype="VARCHAR" size="23" />
</CONCAT>
</DIExpression>
</DIAssignmentStep>
</DIIf>
</DIIfStep>
</DIElse>
</DIIfStep>
</DIElse>
</DIIfStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'update JOB_STREAM_STEP_RT&#xA;               set STATUS = {$l_status}, STATE = \'FINISHED\' , END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127), STATUS_INFO = {$l_status_info}, RECO_ACTION = {$l_reco_action}&#xA;               where MD_PROCESS_ID = {$p_process_id}')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="update JOB_STREAM_STEP_RT&#xA;               set STATUS = {$l_status}, STATE = 'FINISHED' , END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127), STATUS_INFO = {$l_status_info}, RECO_ACTION = {$l_reco_action}&#xA;               where MD_PROCESS_ID = {$p_process_id}" datatype="VARCHAR" size="272" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('**')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="**" datatype="VARCHAR" size="2" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('**')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="**" datatype="VARCHAR" size="2" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('** The Job {job_name()} is ending')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="** The Job {job_name()} is ending" datatype="VARCHAR" size="33" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('**   status: {$l_status}')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="**   status: {$l_status}" datatype="VARCHAR" size="24" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('**   explanation: {$l_status_info})')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="**   explanation: {$l_status_info})" datatype="VARCHAR" size="35" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('********************************')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="********************************" datatype="VARCHAR" size="32" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('********************************')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="********************************" datatype="VARCHAR" size="32" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIReturnStep typeId="30" >
<DIExpression isString="true" expr=" NULL " >
<CONSTANT_NULL /></DIExpression>
</DIReturnStep>
</DISteps>
</DIScriptFunction>
<DIScriptFunction name="ABC_ENDWF_FN" typeId="11" >
<DIUIOptions>
<DIAttribute name="ui_script_text" value="&#xA;# LOOP THROUGH ALL VALUES IN INPUT PARAMETER TARGET_TABLE FIELD&#xA;# UPDATE EACH VALUE (IN DELIMITED STRING) AS SINGLE RECORD WITH ENDDATE&#xA;# CHECK THAT ABC_ENDWF_FN CANNOT BE CALLED BEFORE ABC_STARTWF_FN&#xA;&#xA;$l_previous_status = sql('DW_ABC_DS','select STATUS from JOB_STREAM_STEP_DETAIL_RT&#xA;                                      where MD_PROCESS_ID = {$p_process_id} AND DETAIL_NAME = {$p_detailname} ');&#xA;&#xA;if ($l_previous_status is null)&#xA;#  sql('DW_ABC_DS','insert into JOB_STREAM_STEP_DETAIL_RT &#xA;#                   (MD_PROCESS_ID, DETAIL_NAME, STATUS, END_TIME)  &#xA;#                   VALUES ({$p_process_id}, {$p_detailname}, \'ERROR\', {sysdate()})');&#x9;&#xD;&#xA;  sql('DW_ABC_DS','insert into JOB_STREAM_STEP_DETAIL_RT &#xA;                   (MD_PROCESS_ID, DETAIL_NAME, STATUS, END_TIME)  &#xA;                   VALUES ({$p_process_id}, {$p_detailname}, \'ERROR\', convert(datetime,{sysdate()},111))');&#x9;&#xA;else&#xA;  begin&#xA;    if ($l_previous_status = 'RUNNING')&#xA;      sql('DW_ABC_DS','update JOB_STREAM_STEP_DETAIL_RT&#xA;                       set STATUS = \'SUCCESS\', END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127)&#xA;                       where MD_PROCESS_ID = {$p_process_id} AND DETAIL_NAME = {$p_detailname} ');&#xA;&#x9;else&#xA;      sql('DW_ABC_DS','update JOB_STREAM_STEP_DETAIL_RT&#xA;                       set STATUS = \'ERROR\', END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127)&#xA;                       where MD_PROCESS_ID = {$p_process_id} AND DETAIL_NAME = {$p_detailname} ');&#xA;&#x9;&#xA;  end&#xA;&#xA;ETL_PRINT( '        ** The workflow: [workflow_name()] is ending' );&#xA;ETL_PRINT( '        **   user: ' || system_user_name() );&#xA;ETL_PRINT( '        **   detail name: ' || $p_detailname );&#xA;ETL_PRINT( '        ********************************' );&#xA;ETL_PRINT( '        ********************************' );&#xA;&#xA;return NULL;&#xA;&#xA;&#xA;&#xA;&#xA;  "/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="Acta_user_func_category" value="User_Script_Function"/>
</DIProperties>
<DIParameters><DIElement paramType="IN" name="$p_detailname" datatype="VARCHAR" size="100" >
</DIElement>
<DIElement paramType="IN" name="$p_process_id" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
</DIParameters>
<DIVariables><DIElement paramType="LOCAL" name="$l_previous_status" datatype="VARCHAR" size="12" >
</DIElement>
</DIVariables>
<DIFunctionReturn datatype="INT" />
<DISteps>
<DIAssignmentStep typeId="12" variable="$l_previous_status" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'select STATUS from JOB_STREAM_STEP_DETAIL_RT&#xA;                                      where MD_PROCESS_ID = {$p_process_id} AND DETAIL_NAME = {$p_detailname} ')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="select STATUS from JOB_STREAM_STEP_DETAIL_RT&#xA;                                      where MD_PROCESS_ID = {$p_process_id} AND DETAIL_NAME = {$p_detailname} " datatype="VARCHAR" size="155" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="($l_previous_status IS  NULL )" >
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$l_previous_status" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'insert into JOB_STREAM_STEP_DETAIL_RT &#xA;                   (MD_PROCESS_ID, DETAIL_NAME, STATUS, END_TIME)  &#xA;                   VALUES ({$p_process_id}, {$p_detailname}, \'ERROR\', convert(datetime,{sysdate()},111))')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="insert into JOB_STREAM_STEP_DETAIL_RT &#xA;                   (MD_PROCESS_ID, DETAIL_NAME, STATUS, END_TIME)  &#xA;                   VALUES ({$p_process_id}, {$p_detailname}, 'ERROR', convert(datetime,{sysdate()},111))" datatype="VARCHAR" size="211" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIIf>
<DIElse>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="($l_previous_status = 'RUNNING')" >
<LOGICAL_OP op="EQ">
<VARIABLE_REFERENCE name="$l_previous_status" />
<CONSTANT value="RUNNING" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'update JOB_STREAM_STEP_DETAIL_RT&#xA;                       set STATUS = \'SUCCESS\', END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127)&#xA;                       where MD_PROCESS_ID = {$p_process_id} AND DETAIL_NAME = {$p_detailname} ')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="update JOB_STREAM_STEP_DETAIL_RT&#xA;                       set STATUS = 'SUCCESS', END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127)&#xA;                       where MD_PROCESS_ID = {$p_process_id} AND DETAIL_NAME = {$p_detailname} " datatype="VARCHAR" size="243" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIIf>
<DIElse>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'update JOB_STREAM_STEP_DETAIL_RT&#xA;                       set STATUS = \'ERROR\', END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127)&#xA;                       where MD_PROCESS_ID = {$p_process_id} AND DETAIL_NAME = {$p_detailname} ')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="update JOB_STREAM_STEP_DETAIL_RT&#xA;                       set STATUS = 'ERROR', END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127)&#xA;                       where MD_PROCESS_ID = {$p_process_id} AND DETAIL_NAME = {$p_detailname} " datatype="VARCHAR" size="241" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIElse>
</DIIfStep>
</DIElse>
</DIIfStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('        ** The workflow: [workflow_name()] is ending')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="        ** The workflow: [workflow_name()] is ending" datatype="VARCHAR" size="52" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print(('        **   user: ' || system_user_name()))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONSTANT value="        **   user: " datatype="VARCHAR" size="19" />
<FUNCTION_CALL name="system_user_name"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print(('        **   detail name: ' || $p_detailname))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONSTANT value="        **   detail name: " datatype="VARCHAR" size="26" />
<VARIABLE_REFERENCE name="$p_detailname" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('        ********************************')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="        ********************************" datatype="VARCHAR" size="40" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('        ********************************')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="        ********************************" datatype="VARCHAR" size="40" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIReturnStep typeId="30" >
<DIExpression isString="true" expr=" NULL " >
<CONSTANT_NULL /></DIExpression>
</DIReturnStep>
</DISteps>
</DIScriptFunction>
<DIScriptFunction name="ABC_FAILJB_FN" typeId="11" >
<DIUIOptions>
<DIAttribute name="ui_script_text" value="# IN EVENT THE JOB FAILED, UPDATE JOB RECORD WITH FAIL STATUS&#xA;&#xA;&#xA;if ($p_process_id is null)&#xA;  begin&#xA; &#x9; ETL_PRINT( 'ENTERED THE JOB CATCH BEFORE THE PROCESS_ID COULD BE SET (debug mode specific error)' );&#xA; &#x9; ETL_PRINT( 'AN ERROR RAISED BEFORE the execution of the job start script (this exception will not be recorded by ABC infrastructure)' );&#xA;  end&#xA;else&#xA;  begin&#xA;&#x9; $l_status_text = replace_substr( $p_status_info, '\'','\'\'');&#xA; &#x9; sql('DW_ABC_DS','update JOB_STREAM_STEP_RT&#xA;                 set STATE = \'FINISHED\', END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127), STATUS = \'ERROR\', STATUS_INFO = {$l_status_text}&#xA;                 where  MD_PROCESS_ID = {$p_process_id} ');&#xA;&#xA;  end&#xA;&#xA;&#xA;ETL_PRINT( '        ** The Job : [job_name()] FAILED' );&#xA;ETL_PRINT( '        **   user: ' || system_user_name() );&#xA;ETL_PRINT( '        **   status info: ' || $p_status_info );&#xA;ETL_PRINT( '        ********************************' );&#xA;ETL_PRINT( '        ********************************' );&#xA;&#xA;return NULL;&#xA;"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="Acta_user_func_category" value="User_Script_Function"/>
<DIAttribute name="Parallelizable" value="no"/>
<DIAttribute name="isScriptValidationFunction" value="no"/>
</DIProperties>
<DIParameters><DIElement paramType="IN" name="$p_process_id" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="IN" name="$p_status_info" datatype="VARCHAR" size="400" >
</DIElement>
</DIParameters>
<DIVariables><DIElement paramType="LOCAL" name="$l_status_text" datatype="VARCHAR" size="400" >
</DIElement>
</DIVariables>
<DIFunctionReturn datatype="INT" />
<DISteps>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="($p_process_id IS  NULL )" >
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$p_process_id" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('ENTERED THE JOB CATCH BEFORE THE PROCESS_ID COULD BE SET (debug mode specific error)')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="ENTERED THE JOB CATCH BEFORE THE PROCESS_ID COULD BE SET (debug mode specific error)" datatype="VARCHAR" size="84" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('AN ERROR RAISED BEFORE the execution of the job start script (this exception will not be recorded by ABC infrastructure)')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="AN ERROR RAISED BEFORE the execution of the job start script (this exception will not be recorded by ABC infrastructure)" datatype="VARCHAR" size="120" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIIf>
<DIElse>
<DIAssignmentStep typeId="12" variable="$l_status_text" >
<DIExpression isString="true" expr="replace_substr($p_status_info, '\'', '\'\'')" >
<FUNCTION_CALL name="replace_substr"  type="DI" >
<VARIABLE_REFERENCE name="$p_status_info" />
<CONSTANT value="'" datatype="VARCHAR" size="1" />
<CONSTANT value="''" datatype="VARCHAR" size="2" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'update JOB_STREAM_STEP_RT&#xA;                 set STATE = \'FINISHED\', END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127), STATUS = \'ERROR\', STATUS_INFO = {$l_status_text}&#xA;                 where  MD_PROCESS_ID = {$p_process_id} ')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="update JOB_STREAM_STEP_RT&#xA;                 set STATE = 'FINISHED', END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127), STATUS = 'ERROR', STATUS_INFO = {$l_status_text}&#xA;                 where  MD_PROCESS_ID = {$p_process_id} " datatype="VARCHAR" size="241" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIElse>
</DIIfStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('        ** The Job : [job_name()] FAILED')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="        ** The Job : [job_name()] FAILED" datatype="VARCHAR" size="40" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print(('        **   user: ' || system_user_name()))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONSTANT value="        **   user: " datatype="VARCHAR" size="19" />
<FUNCTION_CALL name="system_user_name"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print(('        **   status info: ' || $p_status_info))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONSTANT value="        **   status info: " datatype="VARCHAR" size="26" />
<VARIABLE_REFERENCE name="$p_status_info" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('        ********************************')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="        ********************************" datatype="VARCHAR" size="40" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('        ********************************')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="        ********************************" datatype="VARCHAR" size="40" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIReturnStep typeId="30" >
<DIExpression isString="true" expr=" NULL " >
<CONSTANT_NULL /></DIExpression>
</DIReturnStep>
</DISteps>
</DIScriptFunction>
<DIScriptFunction name="ABC_FAILWF_FN" typeId="11" >
<DIUIOptions>
<DIAttribute name="ui_script_text" value="# IN EVENT THE WORKFLOW FAILED, UPDATE WORKFLOW RECORD WITH FAIL STATUS&#xA;&#xA;$l_status_text = replace_substr( $p_status_info, '\'','\'\'');&#xA;&#xA;sql('DW_ABC_DS','update JOB_STREAM_STEP_DETAIL_RT&#xA;                 set STATUS = \'ERROR\', STATUS_INFO = {$l_status_text}, END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127)&#xA;                 where  MD_PROCESS_ID = {$p_process_id} AND DETAIL_NAME = {$p_detailname} ');&#xA;&#xA;ETL_PRINT( '        ** The workflow: [workflow_name()] FAILED' );&#xA;ETL_PRINT( '        **   user: ' || system_user_name() );&#xA;ETL_PRINT( '        **   status info: ' || $p_status_info );&#xA;ETL_PRINT( '        **   detail name: ' || $p_detailname );&#xA;ETL_PRINT( '        ********************************' );&#xA;ETL_PRINT( '        ********************************' );&#xA;&#xA;return NULL;&#xA;"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="Acta_user_func_category" value="User_Script_Function"/>
</DIProperties>
<DIParameters><DIElement paramType="IN" name="$p_detailname" datatype="VARCHAR" size="100" >
</DIElement>
<DIElement paramType="IN" name="$p_process_id" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="IN" name="$p_status_info" datatype="VARCHAR" size="400" >
</DIElement>
</DIParameters>
<DIVariables><DIElement paramType="LOCAL" name="$l_status_text" datatype="VARCHAR" size="400" >
</DIElement>
</DIVariables>
<DIFunctionReturn datatype="INT" />
<DISteps>
<DIAssignmentStep typeId="12" variable="$l_status_text" >
<DIExpression isString="true" expr="replace_substr($p_status_info, '\'', '\'\'')" >
<FUNCTION_CALL name="replace_substr"  type="DI" >
<VARIABLE_REFERENCE name="$p_status_info" />
<CONSTANT value="'" datatype="VARCHAR" size="1" />
<CONSTANT value="''" datatype="VARCHAR" size="2" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'update JOB_STREAM_STEP_DETAIL_RT&#xA;                 set STATUS = \'ERROR\', STATUS_INFO = {$l_status_text}, END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127)&#xA;                 where  MD_PROCESS_ID = {$p_process_id} AND DETAIL_NAME = {$p_detailname} ')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="update JOB_STREAM_STEP_DETAIL_RT&#xA;                 set STATUS = 'ERROR', STATUS_INFO = {$l_status_text}, END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127)&#xA;                 where  MD_PROCESS_ID = {$p_process_id} AND DETAIL_NAME = {$p_detailname} " datatype="VARCHAR" size="262" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('        ** The workflow: [workflow_name()] FAILED')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="        ** The workflow: [workflow_name()] FAILED" datatype="VARCHAR" size="49" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print(('        **   user: ' || system_user_name()))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONSTANT value="        **   user: " datatype="VARCHAR" size="19" />
<FUNCTION_CALL name="system_user_name"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print(('        **   status info: ' || $p_status_info))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONSTANT value="        **   status info: " datatype="VARCHAR" size="26" />
<VARIABLE_REFERENCE name="$p_status_info" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print(('        **   detail name: ' || $p_detailname))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONSTANT value="        **   detail name: " datatype="VARCHAR" size="26" />
<VARIABLE_REFERENCE name="$p_detailname" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('        ********************************')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="        ********************************" datatype="VARCHAR" size="40" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('        ********************************')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="        ********************************" datatype="VARCHAR" size="40" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIReturnStep typeId="30" >
<DIExpression isString="true" expr=" NULL " >
<CONSTANT_NULL /></DIExpression>
</DIReturnStep>
</DISteps>
</DIScriptFunction>
<DIScriptFunction name="ABC_STARTJB_FN" typeId="11" >
<DIUIOptions>
<DIAttribute name="ui_script_text" value="#$l_job_start_date = sysdate( );&#xD;&#xA;$l_job_start_date = sql('DW_ABC_DS','select getdate()');&#xD;&#xA;$l_job_start_date_vchar = sql('DW_ABC_DS','select convert(varchar(25),convert(datetime,{$l_job_start_date},111),127)');&#xD;&#xA;ETL_PRINT('l_job_start_date_vchar = '|| $l_job_start_date_vchar);&#xD;&#xA;#sql('DW_ABC_DS','select convert(datetime,GETDATE()-5,111)');&#xD;&#xA;#;&#xA;# the job may have been called from the DW scheduler as part of a job stream&#xA;# or it may be launched manually &#xA;# if the job is called as part of a job stream&#xA;#   then its row in DW_ABC_DS.STEP_RUNTIME identified by $G_STEP_RT_ID  has already &#xA;#   been created with a WAITING status&#xA;# else&#xA;#   the job has been launched out of a stream context, it will create its own entry &#xA;#   flagged as MANUAL in DW_ABC_DS.STEP_RUNTIME&#xA;       &#xA;if ($p_debug_mode is null or not $p_debug_mode = 1)&#xA;  begin&#xA;    if ($p_process_id is null)&#xA;      begin&#xA;&#x9;    ETL_PRINT( 'ERROR: $G_PROCESS_ID is not set. If you want to run manually the job, you must set $G_DEBUG_MODE=1' );&#xA;        raise_exception('$G_PROCESS_ID is not set. If you want to run manually the job, you must set $G_DEBUG_MODE=1');&#xA;      end&#xA;    # retrieve the batch id from the STEP_RUNTIME table&#xA;    $p_batch_id = sql('DW_ABC_DS',&#xA;      'SELECT MD_BATCH_ID FROM JOB_STREAM_STEP_RT where MD_PROCESS_ID = {$p_process_id}');&#xA;    if ($p_batch_id is null)&#xA;      begin&#xA;&#x9;    ETL_PRINT( 'ERROR: Process ' || $p_process_id || ' not found in STEP_RUNTIME table.' );&#xA;        raise_exception('process '||$p_process_id||' is not found in STEP_RUNTIME table.');&#xA;      end&#xA;  end&#xA;else&#xA;  begin&#xA;    if ($p_process_id is not null)&#xA;      begin&#xA;&#x9;    ETL_PRINT( 'ERROR: abC usage error detected : $G_DEBUG_MODE is set to ' || $p_debug_mode || ' but $G_PROCESS_ID is not null (set to '||$p_process_id||'). In debug mode Process ID will be allocated by the job and cannot be specified');&#xA;        raise_exception('ERROR: abC usage error detected : $G_DEBUG_MODE is set to ' || $p_debug_mode || ' but $G_PROCESS_ID is not null (set to '||$p_process_id||'). in debug mode Process ID will be allocated by the system and cannot be specified');&#xA;      end&#xA;    # create the job level row in DW_ABC_DS.STEP_RUNTIME note that only a basic row without start dates is created &#xA;  &#x9;# this will be done in code shared for scheduled and manual rows&#xA;&#xD;&#xA;#    sql('DW_ABC_DS','insert into JOB_STREAM_STEP_RT (JOB_NAME, START_TIME, STEP_OWNER, STATE) &#xA;#                     VALUES ({job_name()},{$l_job_start_date}, \'MANUAL\', \'STARTING\')');&#xA;&#xD;&#xA;    sql('DW_ABC_DS','insert into JOB_STREAM_STEP_RT (JOB_NAME, START_TIME, STEP_OWNER, STATE) &#xA;                     VALUES ({job_name()},{$l_job_start_date_vchar}, \'MANUAL\', \'STARTING\')');&#xA;  &#x9;# retrieve the row ID affected by the DB, this ID will be used for any future reference to the STEP_RUNTIME table&#xA;# &#x9;$p_process_id = sql('DW_ABC_DS','SELECT MD_PROCESS_ID from JOB_STREAM_STEP_RT where JOB_NAME = {job_name()} AND START_TIME = {$l_job_start_date} AND STEP_OWNER = \'MANUAL\' AND STATE =  \'STARTING\' ');&#xA;#&#x9;ETL_PRINT( 'After manual launch, the assigned Process ID is: ' || $p_process_id );&#xA;&#xD;&#xA; &#x9;$p_process_id = sql('DW_ABC_DS','SELECT MD_PROCESS_ID from JOB_STREAM_STEP_RT where JOB_NAME = {job_name()} AND START_TIME = {$l_job_start_date_vchar} AND STEP_OWNER = \'MANUAL\' AND STATE =  \'STARTING\' ');&#xA;&#x9;ETL_PRINT( 'After manual launch, the assigned Process ID is: ' || $p_process_id );&#xA;&#x9;# No new batch is created in debug mode, but set 0 to batch-id variable to have a not null value&#xA;&#x9;$p_batch_id = 0;&#xA;  end&#xA;&#xA;&#xA;ETL_PRINT ( 'Process ' || $p_process_id || ' retrieved $p_batch_id = {$p_batch_id}' );&#xA;$l_state = sql('DW_ABC_DS',&#xA;      'SELECT STATE FROM JOB_STREAM_STEP_RT where MD_PROCESS_ID = {$p_process_id}');&#xA;$l_job_name = sql('DW_ABC_DS',&#xA;      'SELECT JOB_NAME FROM JOB_STREAM_STEP_RT where MD_PROCESS_ID = {$p_process_id}');&#xA;&#xA;if ($l_state != 'STARTING' )&#xA;begin&#xA;    sql('DW_ABC_DS','update JOB_STREAM_STEP_RT set STATUS_INFO = \'Tried to run job, but it is not in a runnable state.\' &#xA;         where MD_PROCESS_ID = {$p_process_id}');&#xA;    raise_exception('ERROR: This job is not in a runnable state. This may come from Web Service timeout, the job will not execute and a new one will be trigered by ABC (if not already done)');&#xA;end&#xA;&#xA;if ($l_job_name != job_name() )&#xA;begin&#xA;   # sql('DW_ABC_DS','update JOB_STREAM_STEP_RT set STATUS_INFO = \'This job, {job_name()}, does not match the JOB_NAME of the step you are trying to run ($l_job_name).\' &#xA;   #      where MD_PROCESS_ID = {$p_process_id}');&#xA;    raise_exception('ERROR: This job, {job_name()}, does not match the JOB_NAME of the step you are trying to run (' || $l_job_name || ').');&#xA;end&#xA;&#xA;# now flag the job as running&#xD;&#xA;#sql('DW_ABC_DS','update JOB_STREAM_STEP_RT set STATE = \'RUNNING\',&#xA;#JOB_NAME = {job_name()}, START_TIME = convert(datetime,{$l_job_start_date},111)&#xA;#where MD_PROCESS_ID = {$p_process_id}');&#xA;sql('DW_ABC_DS','update JOB_STREAM_STEP_RT set STATE = \'RUNNING\',&#xA;JOB_NAME = {job_name()}, START_TIME = {$l_job_start_date_vchar}&#xA;where MD_PROCESS_ID = {$p_process_id}');&#xA;&#xA;set_env( 'ETL_DEBUG_MODE', $p_debug_mode );&#xA;set_env( 'ETL_BATCH_ID', $p_batch_id);&#xA;set_env( 'ETL_PROCESS_ID', $p_process_id );&#xA;if ( is_set_env( 'ETL_TRACE_LEVEL' ) != 1 )&#xA;begin&#xA;&#x9;set_env( 'ETL_TRACE_LEVEL', 'ALL' );&#xA;end&#xA;&#xA;ETL_PRINT( '********************************' );&#xA;ETL_PRINT( '********************************' );&#xA;ETL_PRINT( '** The Job {job_name()} is starting' || ifthenelse((get_env('ETL_DEBUG_MODE') = '1'), ' in Debug mode', '') || '.');&#xA;ETL_PRINT( '**' );&#xA;ETL_PRINT( '**' );&#xA;&#xA;return (5);&#xA;"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="Acta_user_func_category" value="User_Script_Function"/>
</DIProperties>
<DIParameters><DIElement paramType="IN_OUT" name="$p_process_id" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="IN" name="$p_debug_mode" datatype="INT" >
</DIElement>
<DIElement paramType="OUT" name="$p_batch_id" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
</DIParameters>
<DIVariables><DIElement paramType="LOCAL" name="$l_previous_process_id" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_sqltext" datatype="VARCHAR" size="80" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_job_start_date" datatype="DATETIME" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_state" datatype="VARCHAR" size="30" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_job_name" datatype="VARCHAR" size="60" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_job_start_date_vchar" datatype="VARCHAR" size="25" >
</DIElement>
</DIVariables>
<DIFunctionReturn datatype="DATETIME" />
<DISteps>
<DIAssignmentStep typeId="12" variable="$l_job_start_date" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'select getdate()')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="select getdate()" datatype="VARCHAR" size="16" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$l_job_start_date_vchar" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'select convert(varchar(25),convert(datetime,{$l_job_start_date},111),127)')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="select convert(varchar(25),convert(datetime,{$l_job_start_date},111),127)" datatype="VARCHAR" size="73" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print(('l_job_start_date_vchar = ' || $l_job_start_date_vchar))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONSTANT value="l_job_start_date_vchar = " datatype="VARCHAR" size="25" />
<VARIABLE_REFERENCE name="$l_job_start_date_vchar" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="(($p_debug_mode IS  NULL ) OR&#xA;   ( not ($p_debug_mode = 1)))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$p_debug_mode" />
</LOGICAL_OP>
<LOGICAL_OP op="NOT">
<LOGICAL_OP op="EQ">
<VARIABLE_REFERENCE name="$p_debug_mode" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="($p_process_id IS  NULL )" >
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$p_process_id" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('ERROR: $G_PROCESS_ID is not set. If you want to run manually the job, you must set $G_DEBUG_MODE=1')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="ERROR: $G_PROCESS_ID is not set. If you want to run manually the job, you must set $G_DEBUG_MODE=1" datatype="VARCHAR" size="98" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="raise_exception('$G_PROCESS_ID is not set. If you want to run manually the job, you must set $G_DEBUG_MODE=1')" >
<FUNCTION_CALL name="raise_exception"  type="DI" >
<CONSTANT value="$G_PROCESS_ID is not set. If you want to run manually the job, you must set $G_DEBUG_MODE=1" datatype="VARCHAR" size="91" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIIf>
</DIIfStep>
<DIAssignmentStep typeId="12" variable="$p_batch_id" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'SELECT MD_BATCH_ID FROM JOB_STREAM_STEP_RT where MD_PROCESS_ID = {$p_process_id}')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="SELECT MD_BATCH_ID FROM JOB_STREAM_STEP_RT where MD_PROCESS_ID = {$p_process_id}" datatype="VARCHAR" size="80" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="($p_batch_id IS  NULL )" >
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$p_batch_id" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((('ERROR: Process ' || $p_process_id) || ' not found in STEP_RUNTIME table.'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONSTANT value="ERROR: Process " datatype="VARCHAR" size="15" />
<VARIABLE_REFERENCE name="$p_process_id" />
</CONCAT>
<CONSTANT value=" not found in STEP_RUNTIME table." datatype="VARCHAR" size="33" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="raise_exception((('process ' || $p_process_id) || ' is not found in STEP_RUNTIME table.'))" >
<FUNCTION_CALL name="raise_exception"  type="DI" >
<CONCAT>
<CONCAT>
<CONSTANT value="process " datatype="VARCHAR" size="8" />
<VARIABLE_REFERENCE name="$p_process_id" />
</CONCAT>
<CONSTANT value=" is not found in STEP_RUNTIME table." datatype="VARCHAR" size="36" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIIf>
</DIIfStep>
</DIIf>
<DIElse>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="($p_process_id IS NOT  NULL )" >
<LOGICAL_OP op="IS NOT NULL">
<VARIABLE_REFERENCE name="$p_process_id" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('ERROR: abC usage error detected : $G_DEBUG_MODE is set to ' || $p_debug_mode) || ' but $G_PROCESS_ID is not null (set to ') || $p_process_id) || '). In debug mode Process ID will be allocated by the job and cannot be specified'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="ERROR: abC usage error detected : $G_DEBUG_MODE is set to " datatype="VARCHAR" size="58" />
<VARIABLE_REFERENCE name="$p_debug_mode" />
</CONCAT>
<CONSTANT value=" but $G_PROCESS_ID is not null (set to " datatype="VARCHAR" size="39" />
</CONCAT>
<VARIABLE_REFERENCE name="$p_process_id" />
</CONCAT>
<CONSTANT value="). In debug mode Process ID will be allocated by the job and cannot be specified" datatype="VARCHAR" size="80" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="raise_exception((((('ERROR: abC usage error detected : $G_DEBUG_MODE is set to ' || $p_debug_mode) || ' but $G_PROCESS_ID is not null (set to ') || $p_process_id) || '). in debug mode Process ID will be allocated by the system and cannot be specified'))" >
<FUNCTION_CALL name="raise_exception"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="ERROR: abC usage error detected : $G_DEBUG_MODE is set to " datatype="VARCHAR" size="58" />
<VARIABLE_REFERENCE name="$p_debug_mode" />
</CONCAT>
<CONSTANT value=" but $G_PROCESS_ID is not null (set to " datatype="VARCHAR" size="39" />
</CONCAT>
<VARIABLE_REFERENCE name="$p_process_id" />
</CONCAT>
<CONSTANT value="). in debug mode Process ID will be allocated by the system and cannot be specified" datatype="VARCHAR" size="83" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIIf>
</DIIfStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'insert into JOB_STREAM_STEP_RT (JOB_NAME, START_TIME, STEP_OWNER, STATE) &#xA;                     VALUES ({job_name()},{$l_job_start_date_vchar}, \'MANUAL\', \'STARTING\')')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="insert into JOB_STREAM_STEP_RT (JOB_NAME, START_TIME, STEP_OWNER, STATE) &#xA;                     VALUES ({job_name()},{$l_job_start_date_vchar}, 'MANUAL', 'STARTING')" datatype="VARCHAR" size="164" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIAssignmentStep typeId="12" variable="$p_process_id" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'SELECT MD_PROCESS_ID from JOB_STREAM_STEP_RT where JOB_NAME = {job_name()} AND START_TIME = {$l_job_start_date_vchar} AND STEP_OWNER = \'MANUAL\' AND STATE =  \'STARTING\' ')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="SELECT MD_PROCESS_ID from JOB_STREAM_STEP_RT where JOB_NAME = {job_name()} AND START_TIME = {$l_job_start_date_vchar} AND STEP_OWNER = 'MANUAL' AND STATE =  'STARTING' " datatype="VARCHAR" size="168" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print(('After manual launch, the assigned Process ID is: ' || $p_process_id))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONSTANT value="After manual launch, the assigned Process ID is: " datatype="VARCHAR" size="49" />
<VARIABLE_REFERENCE name="$p_process_id" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIAssignmentStep typeId="12" variable="$p_batch_id" >
<DIExpression isString="true" expr="0" >
<CONSTANT value="0" datatype="INT" />
</DIExpression>
</DIAssignmentStep>
</DIElse>
</DIIfStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((('Process ' || $p_process_id) || ' retrieved $p_batch_id = {$p_batch_id}'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONSTANT value="Process " datatype="VARCHAR" size="8" />
<VARIABLE_REFERENCE name="$p_process_id" />
</CONCAT>
<CONSTANT value=" retrieved $p_batch_id = {$p_batch_id}" datatype="VARCHAR" size="38" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIAssignmentStep typeId="12" variable="$l_state" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'SELECT STATE FROM JOB_STREAM_STEP_RT where MD_PROCESS_ID = {$p_process_id}')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="SELECT STATE FROM JOB_STREAM_STEP_RT where MD_PROCESS_ID = {$p_process_id}" datatype="VARCHAR" size="74" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$l_job_name" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'SELECT JOB_NAME FROM JOB_STREAM_STEP_RT where MD_PROCESS_ID = {$p_process_id}')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="SELECT JOB_NAME FROM JOB_STREAM_STEP_RT where MD_PROCESS_ID = {$p_process_id}" datatype="VARCHAR" size="77" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="($l_state != 'STARTING')" >
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$l_state" />
<CONSTANT value="STARTING" datatype="VARCHAR" size="8" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'update JOB_STREAM_STEP_RT set STATUS_INFO = \'Tried to run job, but it is not in a runnable state.\' &#xA;         where MD_PROCESS_ID = {$p_process_id}')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="update JOB_STREAM_STEP_RT set STATUS_INFO = 'Tried to run job, but it is not in a runnable state.' &#xA;         where MD_PROCESS_ID = {$p_process_id}" datatype="VARCHAR" size="146" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="raise_exception('ERROR: This job is not in a runnable state. This may come from Web Service timeout, the job will not execute and a new one will be trigered by ABC (if not already done)')" >
<FUNCTION_CALL name="raise_exception"  type="DI" >
<CONSTANT value="ERROR: This job is not in a runnable state. This may come from Web Service timeout, the job will not execute and a new one will be trigered by ABC (if not already done)" datatype="VARCHAR" size="168" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIIf>
</DIIfStep>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="($l_job_name != job_name())" >
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$l_job_name" />
<FUNCTION_CALL name="job_name"  type="DI" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="raise_exception((('ERROR: This job, {job_name()}, does not match the JOB_NAME of the step you are trying to run (' || $l_job_name) || ').'))" >
<FUNCTION_CALL name="raise_exception"  type="DI" >
<CONCAT>
<CONCAT>
<CONSTANT value="ERROR: This job, {job_name()}, does not match the JOB_NAME of the step you are trying to run (" datatype="VARCHAR" size="94" />
<VARIABLE_REFERENCE name="$l_job_name" />
</CONCAT>
<CONSTANT value=")." datatype="VARCHAR" size="2" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIIf>
</DIIfStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'update JOB_STREAM_STEP_RT set STATE = \'RUNNING\',&#xA;JOB_NAME = {job_name()}, START_TIME = {$l_job_start_date_vchar}&#xA;where MD_PROCESS_ID = {$p_process_id}')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="update JOB_STREAM_STEP_RT set STATE = 'RUNNING',&#xA;JOB_NAME = {job_name()}, START_TIME = {$l_job_start_date_vchar}&#xA;where MD_PROCESS_ID = {$p_process_id}" datatype="VARCHAR" size="150" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="set_env('ETL_DEBUG_MODE', $p_debug_mode)" >
<FUNCTION_CALL name="set_env"  type="DI" >
<CONSTANT value="ETL_DEBUG_MODE" datatype="VARCHAR" size="14" />
<VARIABLE_REFERENCE name="$p_debug_mode" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="set_env('ETL_BATCH_ID', $p_batch_id)" >
<FUNCTION_CALL name="set_env"  type="DI" >
<CONSTANT value="ETL_BATCH_ID" datatype="VARCHAR" size="12" />
<VARIABLE_REFERENCE name="$p_batch_id" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="set_env('ETL_PROCESS_ID', $p_process_id)" >
<FUNCTION_CALL name="set_env"  type="DI" >
<CONSTANT value="ETL_PROCESS_ID" datatype="VARCHAR" size="14" />
<VARIABLE_REFERENCE name="$p_process_id" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="(is_set_env('ETL_TRACE_LEVEL') != 1)" >
<LOGICAL_OP op="NE">
<FUNCTION_CALL name="is_set_env"  type="DI" >
<CONSTANT value="ETL_TRACE_LEVEL" datatype="VARCHAR" size="15" />
</FUNCTION_CALL>
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="set_env('ETL_TRACE_LEVEL', 'ALL')" >
<FUNCTION_CALL name="set_env"  type="DI" >
<CONSTANT value="ETL_TRACE_LEVEL" datatype="VARCHAR" size="15" />
<CONSTANT value="ALL" datatype="VARCHAR" size="3" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIIf>
</DIIfStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('********************************')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="********************************" datatype="VARCHAR" size="32" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('********************************')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="********************************" datatype="VARCHAR" size="32" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((('** The Job {job_name()} is starting' || ifthenelse((get_env('ETL_DEBUG_MODE') = '1'), ' in Debug mode', '')) || '.'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONSTANT value="** The Job {job_name()} is starting" datatype="VARCHAR" size="35" />
<FUNCTION_CALL name="ifthenelse"  type="DI" >
<LOGICAL_OP op="EQ">
<FUNCTION_CALL name="get_env"  type="DI" >
<CONSTANT value="ETL_DEBUG_MODE" datatype="VARCHAR" size="14" />
</FUNCTION_CALL>
<CONSTANT value="1" datatype="VARCHAR" size="1" />
</LOGICAL_OP>
<CONSTANT value=" in Debug mode" datatype="VARCHAR" size="14" />
<CONSTANT value="" datatype="VARCHAR" size="0" />
</FUNCTION_CALL>
</CONCAT>
<CONSTANT value="." datatype="VARCHAR" size="1" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('**')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="**" datatype="VARCHAR" size="2" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('**')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="**" datatype="VARCHAR" size="2" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIReturnStep typeId="30" >
<DIExpression isString="true" expr="5" >
<CONSTANT value="5" datatype="INT" />
</DIExpression>
</DIReturnStep>
</DISteps>
</DIScriptFunction>
<DIScriptFunction name="ABC_STARTWF_FN" typeId="11" >
<DIUIOptions>
<DIAttribute name="ui_script_text" value="ETL_PRINT( '        ********************************' );&#xA;ETL_PRINT( '        ********************************' );&#xA;ETL_PRINT( '        ** The workflow [workflow_name()] is starting' );&#xA;ETL_PRINT( '        **   user: ' || system_user_name() );&#xA;ETL_PRINT( '        **   detail name: ' || $p_detailname );&#xA;&#xA;# DELETE EXISTING WORKFLOW RECORD&#xA;#sql('DW_ABC_DS','delete from RDS_DBA.WFEXECUTION_DW&#xA;#where APPNAME = {$p_appname} AND JOBNAME = {job_name()} AND WFNAME = {workflow_name()}&#xA;#AND TARGET_TABLE = {$l_single_tablename}');&#xA;&#xA;# GET MAX_ID FROM THE WFEXECUTION_DW TABLE&#xA;#$job_ maxkey = sql('DW_ABC_DS', 'SELECT MAX(JOB_ID) FROM RDS_DBA.ETLSYNC_DW');&#xA;#$maxkey = $maxkey + 1;&#xA;&#xA;# INSERT WORKFLOW RECORD&#x9;&#x9;&#xD;&#xA;&#xA;#$l_stepdetail_id = sql('DW_ABC_DS','insert into JOB_STREAM_STEP_DETAIL_RT &#xA;#                (MD_PROCESS_ID, DETAIL_NAME, STATUS, START_TIME)  &#xA;#                VALUES ({$p_process_id}, {$p_detailname}, \'RUNNING\', {sysdate()});&#xA;#&#x9;&#x9;&#x9;&#x9;SELECT SCOPE_IDENTITY() AS NewStepDetailID');&#xA;$l_stepdetail_id = sql('DW_ABC_DS','insert into JOB_STREAM_STEP_DETAIL_RT &#xA;                (MD_PROCESS_ID, DETAIL_NAME, STATUS, START_TIME)  &#xA;                VALUES ({$p_process_id}, {$p_detailname}, \'RUNNING\', convert(varchar(25),convert(datetime,getdate(),111),127));&#xA;&#x9;&#x9;&#x9;&#x9;SELECT SCOPE_IDENTITY() AS NewStepDetailID');&#x9;&#xA;&#xA;set_env(workflow_name(), $l_stepdetail_id);&#xA;&#xA;# print('single_tablename = ' || $l_single_tablename);&#x9;   &#x9;&#xA;&#xA;return null;&#xA;"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="Acta_user_func_category" value="User_Script_Function"/>
</DIProperties>
<DIParameters><DIElement paramType="IN" name="$p_detailname" datatype="VARCHAR" size="100" >
</DIElement>
<DIElement paramType="IN" name="$p_process_id" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
</DIParameters>
<DIVariables><DIElement paramType="LOCAL" name="$l_stepdetail_id" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
</DIVariables>
<DIFunctionReturn datatype="INT" />
<DISteps>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('        ********************************')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="        ********************************" datatype="VARCHAR" size="40" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('        ********************************')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="        ********************************" datatype="VARCHAR" size="40" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('        ** The workflow [workflow_name()] is starting')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="        ** The workflow [workflow_name()] is starting" datatype="VARCHAR" size="53" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print(('        **   user: ' || system_user_name()))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONSTANT value="        **   user: " datatype="VARCHAR" size="19" />
<FUNCTION_CALL name="system_user_name"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print(('        **   detail name: ' || $p_detailname))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONSTANT value="        **   detail name: " datatype="VARCHAR" size="26" />
<VARIABLE_REFERENCE name="$p_detailname" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIAssignmentStep typeId="12" variable="$l_stepdetail_id" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'insert into JOB_STREAM_STEP_DETAIL_RT &#xA;                (MD_PROCESS_ID, DETAIL_NAME, STATUS, START_TIME)  &#xA;                VALUES ({$p_process_id}, {$p_detailname}, \'RUNNING\', convert(varchar(25),convert(datetime,getdate(),111),127));&#xA;&#x9;&#x9;&#x9;&#x9;SELECT SCOPE_IDENTITY() AS NewStepDetailID')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="insert into JOB_STREAM_STEP_DETAIL_RT &#xA;                (MD_PROCESS_ID, DETAIL_NAME, STATUS, START_TIME)  &#xA;                VALUES ({$p_process_id}, {$p_detailname}, 'RUNNING', convert(varchar(25),convert(datetime,getdate(),111),127));&#xA;&#x9;&#x9;&#x9;&#x9;SELECT SCOPE_IDENTITY() AS NewStepDetailID" datatype="VARCHAR" size="280" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="set_env(workflow_name(), $l_stepdetail_id)" >
<FUNCTION_CALL name="set_env"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$l_stepdetail_id" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIReturnStep typeId="30" >
<DIExpression isString="true" expr=" NULL " >
<CONSTANT_NULL /></DIExpression>
</DIReturnStep>
</DISteps>
</DIScriptFunction>
<DIScriptFunction name="ETL_PRINT" typeId="11" >
<DIUIOptions>
<DIAttribute name="ui_script_text" value="# 1/2 Retrieve contextual information from the environment&#xA;if ( is_set_env( 'ETL_BATCH_ID' ) = 1 )&#xA;begin&#xA;&#x9;$l_batch_id = get_env( 'ETL_BATCH_ID' );&#xA;end&#xA;else&#xA;begin&#xA;&#x9;$l_batch_id = '-';&#xA;end&#xA;&#xA;if ( is_set_env( 'ETL_PROCESS_ID' ) = 1 )&#xA;begin&#xA;&#x9;$l_process_id = get_env( 'ETL_PROCESS_ID' );&#x9;&#xA;end&#xA;else&#xA;begin&#xA;&#x9;$l_process_id = '-';&#x9;&#xA;end&#xA;&#xA;# 2/2 Really print&#xA;if ( get_env('ETL_TRACE_LEVEL') = 'ALL' )&#xA;begin&#xA;&#x9;if ( is_set_env( workflow_name() ) = 1 )&#xA;&#x9;begin&#xA;&#x9;&#x9;$l_stepdetail_id = get_env( workflow_name() );&#xA;&#x9;&#x9;print( '\[Batch:' || $l_batch_id || '\] \[Proc:' || $l_process_id || '\] \[Detail:' || $l_stepdetail_id || '\] ' || $p_MESSAGE );&#xA;&#x9;end&#xA;&#x9;else&#xA;&#x9;begin&#xA;    &#x9;print( '\[Batch:' || $l_batch_id || '\] \[Proc:' || $l_process_id || '\] ' || $p_MESSAGE );&#xA;&#x9;end&#xA;end&#xA;&#xA;return null;&#xA;"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="Acta_user_func_category" value="User_Script_Function"/>
<DIAttribute name="Description" value="This function is internal and should NOT be used by application developers.&#xA;&#xA;This function prints the parameter message to the logs with contextual information (batch id, process id) as set by the ABC_STARTJB_FN function.&#xA;&#xA;This trace file is currently the standard Data Services trace file. for instance: C:\Program Files\Business Objects\BusinessObjects Data Services\log\tracelog.txt"/>
<DIAttribute name="Parallelizable" value="no"/>
<DIAttribute name="isScriptValidationFunction" value="no"/>
</DIProperties>
<DIParameters><DIElement paramType="IN" name="$p_MESSAGE" datatype="VARCHAR" size="256" >
</DIElement>
</DIParameters>
<DIVariables><DIElement paramType="LOCAL" name="$l_batch_id" datatype="INT" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_process_id" datatype="INT" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_stepdetail_id" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
</DIVariables>
<DIFunctionReturn datatype="INT" />
<DISteps>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="(is_set_env('ETL_BATCH_ID') = 1)" >
<LOGICAL_OP op="EQ">
<FUNCTION_CALL name="is_set_env"  type="DI" >
<CONSTANT value="ETL_BATCH_ID" datatype="VARCHAR" size="12" />
</FUNCTION_CALL>
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIAssignmentStep typeId="12" variable="$l_batch_id" >
<DIExpression isString="true" expr="get_env('ETL_BATCH_ID')" >
<FUNCTION_CALL name="get_env"  type="DI" >
<CONSTANT value="ETL_BATCH_ID" datatype="VARCHAR" size="12" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
</DIIf>
<DIElse>
<DIAssignmentStep typeId="12" variable="$l_batch_id" >
<DIExpression isString="true" expr="'-'" >
<CONSTANT value="-" datatype="VARCHAR" size="1" />
</DIExpression>
</DIAssignmentStep>
</DIElse>
</DIIfStep>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="(is_set_env('ETL_PROCESS_ID') = 1)" >
<LOGICAL_OP op="EQ">
<FUNCTION_CALL name="is_set_env"  type="DI" >
<CONSTANT value="ETL_PROCESS_ID" datatype="VARCHAR" size="14" />
</FUNCTION_CALL>
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIAssignmentStep typeId="12" variable="$l_process_id" >
<DIExpression isString="true" expr="get_env('ETL_PROCESS_ID')" >
<FUNCTION_CALL name="get_env"  type="DI" >
<CONSTANT value="ETL_PROCESS_ID" datatype="VARCHAR" size="14" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
</DIIf>
<DIElse>
<DIAssignmentStep typeId="12" variable="$l_process_id" >
<DIExpression isString="true" expr="'-'" >
<CONSTANT value="-" datatype="VARCHAR" size="1" />
</DIExpression>
</DIAssignmentStep>
</DIElse>
</DIIfStep>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="(get_env('ETL_TRACE_LEVEL') = 'ALL')" >
<LOGICAL_OP op="EQ">
<FUNCTION_CALL name="get_env"  type="DI" >
<CONSTANT value="ETL_TRACE_LEVEL" datatype="VARCHAR" size="15" />
</FUNCTION_CALL>
<CONSTANT value="ALL" datatype="VARCHAR" size="3" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="(is_set_env(workflow_name()) = 1)" >
<LOGICAL_OP op="EQ">
<FUNCTION_CALL name="is_set_env"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</FUNCTION_CALL>
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIAssignmentStep typeId="12" variable="$l_stepdetail_id" >
<DIExpression isString="true" expr="get_env(workflow_name())" >
<FUNCTION_CALL name="get_env"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="print(((((((('\\[Batch:' || $l_batch_id) || '\\] \\[Proc:') || $l_process_id) || '\\] \\[Detail:') || $l_stepdetail_id) || '\\] ') || $p_MESSAGE))" >
<FUNCTION_CALL name="print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="\[Batch:" datatype="VARCHAR" size="8" />
<VARIABLE_REFERENCE name="$l_batch_id" />
</CONCAT>
<CONSTANT value="\] \[Proc:" datatype="VARCHAR" size="10" />
</CONCAT>
<VARIABLE_REFERENCE name="$l_process_id" />
</CONCAT>
<CONSTANT value="\] \[Detail:" datatype="VARCHAR" size="12" />
</CONCAT>
<VARIABLE_REFERENCE name="$l_stepdetail_id" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<VARIABLE_REFERENCE name="$p_MESSAGE" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIIf>
<DIElse>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="print(((((('\\[Batch:' || $l_batch_id) || '\\] \\[Proc:') || $l_process_id) || '\\] ') || $p_MESSAGE))" >
<FUNCTION_CALL name="print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="\[Batch:" datatype="VARCHAR" size="8" />
<VARIABLE_REFERENCE name="$l_batch_id" />
</CONCAT>
<CONSTANT value="\] \[Proc:" datatype="VARCHAR" size="10" />
</CONCAT>
<VARIABLE_REFERENCE name="$l_process_id" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<VARIABLE_REFERENCE name="$p_MESSAGE" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIElse>
</DIIfStep>
</DIIf>
<DIElse>
</DIElse>
</DIIfStep>
<DIReturnStep typeId="30" >
<DIExpression isString="true" expr=" NULL " >
<CONSTANT_NULL /></DIExpression>
</DIReturnStep>
</DISteps>
</DIScriptFunction>
<DIJob name="CSA_BACKFILL_CTRL_JB" typeId="2" >
<DIProperties>
<DIAttribute name="Description" value="The BO DS job CTRL_JB is responsible for loading the SSNP_CTRL tables. The workflows determine the keys that are consolidated from each source, then retrieves any non-updated record from that consolidation and loads them into the staging tables.  Data is sourced from ENTEPRISE_XREF table and a source view of all the keys and loads the SSNP_CTRL tables."/>
<DIAttribute name="Web_Service_Enabled" value="YES"/>
</DIProperties>
<DIVariables>
<DIElement paramType="GLOBAL" name="$G_DEBUG_MODE" datatype="INT" >
</DIElement>
<DIElement paramType="GLOBAL" name="$G_TRACE_MODE" datatype="INT" >
</DIElement>
<DIElement paramType="GLOBAL" name="$G_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="GLOBAL" name="$G_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ui_display_name" value="CSA_BACKFILL_CTRL_JB_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="STARTJB_SC is used to set global variables and initiates the metadata tracking for the Job"/>
<DIAttribute name="ui_display_name" value="STARTJB_SC"/>
<DIAttribute name="ui_script_text" value="ABC_STARTJB_FN($G_PROCESS_ID, $G_DEBUG_MODE, $G_BATCH_ID);&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startjb_fn($G_PROCESS_ID, $G_DEBUG_MODE, $G_BATCH_ID)" >
<FUNCTION_CALL name="abc_startjb_fn"  type="DI" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DICallStep typeId="0"  calledObjectType="Workflow" name="CSA_BACKFILL_CTRL_CONTAINER_WF" >
</DICallStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="ENDJB_SC concludes the metadata for the Job and Adds final Entries into the ABC Tracking system"/>
<DIAttribute name="ui_display_name" value="ENDJB_SC"/>
<DIAttribute name="ui_script_text" value="ABC_ENDJB_FN($G_PROCESS_ID);&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endjb_fn($G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endjb_fn"  type="DI" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ui_display_name" value="CSA_BACKFILL_CTRL_JB_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="CSA_BACKFILL_CTRL_JB_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILJB_FN($G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failjb_fn($G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failjb_fn"  type="DI" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="job_checkpoint_enabled" value="no"/>
<DIAttribute name="job_collect_statistics" value="no"/>
<DIAttribute name="job_collect_statistics_monitor" value="no"/>
<DIAttribute name="job_enable_assemblers" value="yes"/>
<DIAttribute name="job_enable_audit" value="yes"/>
<DIAttribute name="job_enable_dataquality" value="yes"/>
<DIAttribute name="job_export_repo" value="no"/>
<DIAttribute name="job_export_reports" value="no"/>
<DIAttribute name="job_isrecoverable" value="no"/>
<DIAttribute name="job_mode" value="Multi-Process"/>
<DIAttribute name="job_monitor_sample_rate" value="1000"/>
<DIAttribute name="job_name" value="CSA_BACKFILL_CTRL_JB"/>
<DIAttribute name="job_print_version" value="no"/>
<DIAttribute name="job_testmode_enabled" value="no"/>
<DIAttribute name="job_trace_abapquery" value="no"/>
<DIAttribute name="job_trace_all" value="no"/>
<DIAttribute name="job_trace_ascomm" value="no"/>
<DIAttribute name="job_trace_assemblers" value="no"/>
<DIAttribute name="job_trace_audit" value="no"/>
<DIAttribute name="job_trace_dataflow" value="yes"/>
<DIAttribute name="job_trace_idoc_file" value="no"/>
<DIAttribute name="job_trace_memory_loader" value="no"/>
<DIAttribute name="job_trace_memory_reader" value="no"/>
<DIAttribute name="job_trace_optimized_dataflow" value="no"/>
<DIAttribute name="job_trace_parallel_execution" value="no"/>
<DIAttribute name="job_trace_rfc_function" value="no"/>
<DIAttribute name="job_trace_row" value="no"/>
<DIAttribute name="job_trace_script" value="no"/>
<DIAttribute name="job_trace_session" value="yes"/>
<DIAttribute name="job_trace_sql_only" value="no"/>
<DIAttribute name="job_trace_sqlfunctions" value="no"/>
<DIAttribute name="job_trace_sqlloaders" value="no"/>
<DIAttribute name="job_trace_sqlreaders" value="no"/>
<DIAttribute name="job_trace_sqltransforms" value="no"/>
<DIAttribute name="job_trace_stored_procedure" value="no"/>
<DIAttribute name="job_trace_table" value="no"/>
<DIAttribute name="job_trace_table_reader" value="no"/>
<DIAttribute name="job_trace_transform" value="no"/>
<DIAttribute name="job_trace_userfunction" value="no"/>
<DIAttribute name="job_trace_usertransform" value="no"/>
<DIAttribute name="job_trace_workflow" value="yes"/>
<DIAttribute name="job_type" value="batch"/>
<DIAttribute name="job_use_statistics" value="yes"/>
<DIAttribute name="locale_codepage" value="&lt;default&gt;"/>
<DIAttribute name="locale_language" value="&lt;default&gt;"/>
<DIAttribute name="locale_territory" value="&lt;default&gt;"/>
</DIAttributes>
</DIJob>
<DIWorkflow name="CSA_BACKFILL_CTRL_CONTAINER_WF" typeId="2" >
<DIProperties>
<DIAttribute name="Description" value="This Workflow was created in order to house several workflows that will extract data into files from the source system"/>
</DIProperties>
<DISteps>
<DIParallelStep typeId="11" >
<DISteps>
<DICallStep typeId="0"  calledObjectType="Workflow" name="CSA_BACKFILL_CTRL_CUSTOM_CONT_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="CSA_BACKFILL_CTRL_GEN_CONT_WF" >
</DICallStep>
</DISteps>
</DIParallelStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIWorkflow name="CSA_BACKFILL_CTRL_CUSTOM_CONT_WF" typeId="2" >
<DISteps>
<DIParallelStep typeId="11" >
<DISteps>
</DISteps>
</DIParallelStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIWorkflow name="CSA_BACKFILL_CTRL_GEN_CONT_WF" typeId="2" >
<DISteps>
<DIParallelStep typeId="11" >
<DISteps>
<DICallStep typeId="0"  calledObjectType="Workflow" name="CSA_BILLING_BACKFILL_CTRL_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="CSA_COMPONENT_BACKFILL_CTRL_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="CSA_ORG_BACKFILL_CTRL_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="CSA_PERSON_BACKFILL_CTRL_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="CSA_SERVICE_BLUEPRINT_BACKFILL_CTRL_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="CSA_SERVICE_INSTANCE_BACKFILL_CTRL_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="CSA_SERVICE_OFFERING_BACKFILL_CTRL_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="CSA_SUBSCRIPTION_BACKFILL_CTRL_WF" >
</DICallStep>
</DISteps>
</DIParallelStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIWorkflow name="CSA_BILLING_BACKFILL_CTRL_WF" typeId="2" >
<DIProperties>
<DIAttribute name="Description" value="This workflow determines the keys that are consolidated from each source and retrieves any non-updated records"/>
</DIProperties>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="the Try of the Try / Catch Block"/>
<DIAttribute name="ui_display_name" value="CSA_BILLING_BACKFILL_CTRL_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow. The script will also be used to populate the local workflow variables."/>
<DIAttribute name="ui_display_name" value="CSA_BILLING_BACKFILL_CTRL_START_SC"/>
<DIAttribute name="ui_script_text" value="# CALL FUNCTION TO TRACK START OF WORKFLOW&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="CSA_BILLING_BACKFILL_CTRL_DF" >
</DICallStep>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="CSA_BILLING_FK_BACKFILL_CTRL_DF" >
</DICallStep>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="CSA_BILLING_LA_BACKFILL_CTRL_DF" >
</DICallStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script that calls the custom function that closes the metadata records that are part of tracking the workflow process."/>
<DIAttribute name="ui_display_name" value="CSA_BILLING_BACKFILL_CTRL_END_SC"/>
<DIAttribute name="ui_script_text" value="# CALL FUNCTION TO TRACK END OF WORKFLOW&#xA;ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The workflow catch object is the end of the TRY/CATCH block in BO DS.  This catch block contains the script object that calls a custom fail workflow function used to write the metadata for failed jobs."/>
<DIAttribute name="ui_display_name" value="CSA_BILLING_BACKFILL_CTRL_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that is used to write the metadata for failed workflows."/>
<DIAttribute name="ui_display_name" value="CSA_BILLING_BACKFILL_CTRL_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="# CALL FUNCTION TO TRACK FAIL OF WORKFLOW&#xA;ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="CSA_BILLING_BACKFILL_CTRL_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="QRY_EK - Get a list of all ENTERPRISE_KEYs corresponding to BUSINESS_KEYs in SSI_V.&#xD;&#xA;QRY_MATCH - return all BUSINESS_KEYs and CP_IDs associated with those EKs.&#xD;&#xA;QRY_LOOKUP - lookup against CSA_BILLING_SSI to see if that BK / CP exists already.&#xD;&#xA;QRY_FILTER - If it DOES NOT exist, add it to the CTRL file."/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="Description" value="The dataflow queries for the consolidated key from each source and for only those records in the consolidation that have not been updated"/>
</DIProperties>
<DITransforms>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Query for the consolidated key from each source and for only those records in the consolidation that have not been updated"/>
<DIAttribute name="ui_acta_from_schema_0" value="BILLING_ENTERPRISE_XREF"/>
<DIAttribute name="ui_acta_from_schema_1" value="BILLING_SSI_V"/>
<DIAttribute name="ui_display_name" value="QRY_EK"/>
<DIAttribute name="ui_where_text" value="BILLING_ENTERPRISE_XREF.BUSINESS_KEYVALUE = BILLING_SSI_V.MD_BUSINESS_KEY&#xD;&#xA;and BILLING_ENTERPRISE_XREF.MD_CP_ID = BILLING_SSI_V.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_EK" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="BILLING_ENTERPRISE_XREF.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="BILLING_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="BILLING_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="BILLING_SSI_V" />
<DITableSpec name="BILLING_ENTERPRISE_XREF" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="((BILLING_ENTERPRISE_XREF.BUSINESS_KEYVALUE = BILLING_SSI_V.MD_BUSINESS_KEY) AND&#xA;   (BILLING_ENTERPRISE_XREF.MD_CP_ID = BILLING_SSI_V.MD_CP_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="BILLING_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="BILLING_SSI_V" column="MD_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="BILLING_ENTERPRISE_XREF" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="BILLING_SSI_V" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
<DIGroupBy>
<DIExpression isString="true" expr="BILLING_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="BILLING_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIGroupBy>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_BILLING_SSNP_CTRL" >
<DIInputView name="QRY_FILTER"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit>1000</bulk_ldr_rows_per_commit>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>No</loader_auto_correct>
                <loader_bulk_load>1</loader_bulk_load>
                <loader_compare_column>Compare by name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>overflow_file</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>No</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>No</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>truncate</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>No</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="BILLING_ENTERPRISE_XREF" >
<DIOutputView name="BILLING_ENTERPRISE_XREF"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="QRY_LOOKUP"/>
</DIUIOptions>
<DISchema name="QRY_LOOKUP" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="Merge.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="Merge.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SSI_EXISTS" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_BILLING_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', Merge.MD_BUSINESS_KEY, MD_CP_ID, '=', Merge.MD_CP_ID  ]) &#xD;&#xA;SET(&quot;run_as_separate_process&quot; = 'no')"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="Merge.MD_CP_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="Merge.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="Merge.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_BILLING_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', Merge.MD_BUSINESS_KEY, MD_CP_ID, '=', Merge.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;" >
<FUNCTION_CALL name="lookup_ext"  type="DI" tableDatastore="SRCSTAGING_DS" tableOwner="SRCSTAGING_ALIAS" tableName="CSA_BILLING_SSI" >
<CONSTANT value="PRE_LOAD_CACHE" datatype="VARCHAR" size="14" />
<CONSTANT value="MAX" datatype="VARCHAR" size="3" />
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_CP_ID" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
<DIAttributes>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</FUNCTION_CALL>
</DIExpression>
<DIExpression isString="true" expr="Merge.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="Merge" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="BILLING_ENTERPRISE_XREF"/>
<DIAttribute name="ui_acta_from_schema_1" value="QRY_EK"/>
<DIAttribute name="ui_display_name" value="QRY_MATCH"/>
<DIAttribute name="ui_where_text" value="(QRY_EK.MD_ENTERPRISE_KEY = BILLING_ENTERPRISE_XREF.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_MATCH" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_EK.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="BILLING_ENTERPRISE_XREF.BUSINESS_KEYVALUE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="BILLING_ENTERPRISE_XREF.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_EK.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_EK" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="BILLING_ENTERPRISE_XREF.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="BILLING_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="BILLING_ENTERPRISE_XREF.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="BILLING_ENTERPRISE_XREF" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="BILLING_ENTERPRISE_XREF" />
<DITableSpec name="QRY_EK" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_EK.MD_ENTERPRISE_KEY = BILLING_ENTERPRISE_XREF.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_EK" column="MD_ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="BILLING_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_LOOKUP"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER"/>
<DIAttribute name="ui_where_text" value="QRY_LOOKUP.SSI_EXISTS = 'None'"/>
</DIUIOptions>
<DISchema name="QRY_FILTER" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BATCH_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_PROCESS_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_LOOKUP" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_LOOKUP.SSI_EXISTS = 'None')" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="SSI_EXISTS" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="BILLING_SSI_V" >
<DIOutputView name="BILLING_SSI_V"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="BILLING_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="BILLING_HISTORY_ENTERPRISE_XREF"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="BILLING_HISTORY_ENTERPRISE_XREF"/>
<DIAttribute name="ui_display_name" value="QRY_DISTINCT"/>
</DIUIOptions>
<DISchema name="QRY_DISTINCT" >
<DIElement name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="BILLING_HISTORY_ENTERPRISE_XREF.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="BILLING_HISTORY_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="BILLING_HISTORY_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="BILLING_HISTORY_ENTERPRISE_XREF" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="BILLING_ENTERPRISE_XREF"/>
<DIAttribute name="ui_acta_from_schema_1" value="QRY_DISTINCT"/>
<DIAttribute name="ui_display_name" value="QRY_HIS"/>
<DIAttribute name="ui_where_text" value="(QRY_DISTINCT.ENTERPRISE_KEY=BILLING_ENTERPRISE_XREF.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_HIS" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="BILLING_ENTERPRISE_XREF.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="BILLING_ENTERPRISE_XREF.BUSINESS_KEYVALUE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="BILLING_ENTERPRISE_XREF.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="BILLING_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="BILLING_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="BILLING_ENTERPRISE_XREF.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="BILLING_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="BILLING_ENTERPRISE_XREF.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="BILLING_ENTERPRISE_XREF" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_DISTINCT" />
<DITableSpec name="BILLING_ENTERPRISE_XREF" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_DISTINCT.ENTERPRISE_KEY = BILLING_ENTERPRISE_XREF.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_DISTINCT" column="ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="BILLING_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIInputView name="QRY_HIS"  />
<DIInputView name="QRY_MATCH"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>
</DITransforms>
<DIAttributes>
<DIAttribute name="Audit" hasNestedXMLTree ="true">
<Audit>
          <AuditObjects/>
          <AuditRules/>
          <Notifications>
            <RaiseException Enabled="true"/>
            <Mail Enabled="false"/>
            <Script Enabled="false"/>
          </Notifications>
        </Audit>
</DIAttribute>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIDataflow name="CSA_BILLING_FK_BACKFILL_CTRL_DF" typeId="1" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DITransforms>
<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_BILLING_SSNP" >
<DIOutputView name="CSA_BILLING_SSNP"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="BILLING_ENTERPRISE_XREF" >
<DIOutputView name="BILLING_ENTERPRISE_XREF"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SUBSCRIPTION_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="SUBSCRIPTION_HISTORY_ENTERPRISE_XREF1"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_BILLING_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="SUBSCRIPTION_HISTORY_ENTERPRISE_XREF1"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_1"/>
<DIAttribute name="ui_where_text" value="SUBSCRIPTION_HISTORY_ENTERPRISE_XREF1.BUSINESS_KEYVALUE=CSA_BILLING_SSNP.SUBSCRIPTION_BUSINESS_KEY and &#xD;&#xA;SUBSCRIPTION_HISTORY_ENTERPRISE_XREF1.MD_CP_ID=CSA_BILLING_SSNP.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_1" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_BILLING_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_BILLING_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_BILLING_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_BILLING_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_BILLING_SSNP" />
<DITableSpec name="SUBSCRIPTION_HISTORY_ENTERPRISE_XREF1" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((SUBSCRIPTION_HISTORY_ENTERPRISE_XREF1.BUSINESS_KEYVALUE = CSA_BILLING_SSNP.SUBSCRIPTION_BUSINESS_KEY) AND&#xA;   (SUBSCRIPTION_HISTORY_ENTERPRISE_XREF1.MD_CP_ID = CSA_BILLING_SSNP.MD_CP_ID)) AND&#xA;   (SUBSCRIPTION_HISTORY_ENTERPRISE_XREF1.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_HISTORY_ENTERPRISE_XREF1" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="SUBSCRIPTION_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_HISTORY_ENTERPRISE_XREF1" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_HISTORY_ENTERPRISE_XREF1" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF2"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_BILLING_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF2"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_2"/>
<DIAttribute name="ui_where_text" value="SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF2.BUSINESS_KEYVALUE=CSA_BILLING_SSNP.SERVICE_INSTANCE_BUSINESS_KEY and &#xD;&#xA;SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF2.MD_CP_ID=CSA_BILLING_SSNP.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_2" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_BILLING_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_BILLING_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_BILLING_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_BILLING_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_BILLING_SSNP" />
<DITableSpec name="SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF2" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF2.BUSINESS_KEYVALUE = CSA_BILLING_SSNP.SERVICE_INSTANCE_BUSINESS_KEY) AND&#xA;   (SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF2.MD_CP_ID = CSA_BILLING_SSNP.MD_CP_ID)) AND&#xA;   (SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF2.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF2" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="SERVICE_INSTANCE_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF2" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF2" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF3"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_BILLING_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF3"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_3"/>
<DIAttribute name="ui_where_text" value="SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF3.BUSINESS_KEYVALUE=CSA_BILLING_SSNP.SERVICE_OFFERING_BUSINESS_KEY and &#xD;&#xA;SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF3.MD_CP_ID=CSA_BILLING_SSNP.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_3" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_BILLING_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_BILLING_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_BILLING_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_BILLING_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_BILLING_SSNP" />
<DITableSpec name="SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF3" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF3.BUSINESS_KEYVALUE = CSA_BILLING_SSNP.SERVICE_OFFERING_BUSINESS_KEY) AND&#xA;   (SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF3.MD_CP_ID = CSA_BILLING_SSNP.MD_CP_ID)) AND&#xA;   (SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF3.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF3" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="SERVICE_OFFERING_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF3" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF3" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="EXCHANGE_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="EXCHANGE_HISTORY_ENTERPRISE_XREF4"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_BILLING_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="EXCHANGE_HISTORY_ENTERPRISE_XREF4"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_4"/>
<DIAttribute name="ui_where_text" value="EXCHANGE_HISTORY_ENTERPRISE_XREF4.BUSINESS_KEYVALUE=CSA_BILLING_SSNP.EXCHANGE_BASE_BUSINESS_KEY and &#xD;&#xA;EXCHANGE_HISTORY_ENTERPRISE_XREF4.MD_CP_ID=CSA_BILLING_SSNP.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_4" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_BILLING_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_BILLING_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_BILLING_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_BILLING_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_BILLING_SSNP" />
<DITableSpec name="EXCHANGE_HISTORY_ENTERPRISE_XREF4" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((EXCHANGE_HISTORY_ENTERPRISE_XREF4.BUSINESS_KEYVALUE = CSA_BILLING_SSNP.EXCHANGE_BASE_BUSINESS_KEY) AND&#xA;   (EXCHANGE_HISTORY_ENTERPRISE_XREF4.MD_CP_ID = CSA_BILLING_SSNP.MD_CP_ID)) AND&#xA;   (EXCHANGE_HISTORY_ENTERPRISE_XREF4.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="EXCHANGE_HISTORY_ENTERPRISE_XREF4" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="EXCHANGE_BASE_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="EXCHANGE_HISTORY_ENTERPRISE_XREF4" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="EXCHANGE_HISTORY_ENTERPRISE_XREF4" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="EXCHANGE_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="EXCHANGE_HISTORY_ENTERPRISE_XREF5"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_BILLING_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="EXCHANGE_HISTORY_ENTERPRISE_XREF5"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_5"/>
<DIAttribute name="ui_where_text" value="EXCHANGE_HISTORY_ENTERPRISE_XREF5.BUSINESS_KEYVALUE=CSA_BILLING_SSNP.EXCHANGE_LOC_BUSINESS_KEY and &#xD;&#xA;EXCHANGE_HISTORY_ENTERPRISE_XREF5.MD_CP_ID=CSA_BILLING_SSNP.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_5" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_BILLING_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_BILLING_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_BILLING_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_BILLING_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_BILLING_SSNP" />
<DITableSpec name="EXCHANGE_HISTORY_ENTERPRISE_XREF5" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((EXCHANGE_HISTORY_ENTERPRISE_XREF5.BUSINESS_KEYVALUE = CSA_BILLING_SSNP.EXCHANGE_LOC_BUSINESS_KEY) AND&#xA;   (EXCHANGE_HISTORY_ENTERPRISE_XREF5.MD_CP_ID = CSA_BILLING_SSNP.MD_CP_ID)) AND&#xA;   (EXCHANGE_HISTORY_ENTERPRISE_XREF5.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="EXCHANGE_HISTORY_ENTERPRISE_XREF5" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="EXCHANGE_LOC_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="EXCHANGE_HISTORY_ENTERPRISE_XREF5" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="EXCHANGE_HISTORY_ENTERPRISE_XREF5" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF6"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_BILLING_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF6"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_6"/>
<DIAttribute name="ui_where_text" value="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF6.BUSINESS_KEYVALUE=CSA_BILLING_SSNP.SERVICE_BLUEPRINT_BUSINESS_KEY and &#xD;&#xA;SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF6.MD_CP_ID=CSA_BILLING_SSNP.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_6" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_BILLING_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_BILLING_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_BILLING_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_BILLING_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_BILLING_SSNP" />
<DITableSpec name="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF6" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF6.BUSINESS_KEYVALUE = CSA_BILLING_SSNP.SERVICE_BLUEPRINT_BUSINESS_KEY) AND&#xA;   (SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF6.MD_CP_ID = CSA_BILLING_SSNP.MD_CP_ID)) AND&#xA;   (SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF6.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF6" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="SERVICE_BLUEPRINT_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF6" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF6" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="Merge_BK"/>
<DIAttribute name="ui_acta_from_schema_1" value="BILLING_ENTERPRISE_XREF"/>
<DIAttribute name="ui_display_name" value="QRY_GET_EK"/>
<DIAttribute name="ui_where_text" value="((Merge_BK.MD_BUSINESS_KEY = BILLING_ENTERPRISE_XREF.BUSINESS_KEYVALUE) AND&#xD;&#xA;   (Merge_BK.MD_CP_ID = BILLING_ENTERPRISE_XREF.MD_CP_ID))"/>
</DIUIOptions>
<DISchema name="QRY_GET_EK" >
<DIElement name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="BILLING_ENTERPRISE_XREF.ENTERPRISE_KEY&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="BILLING_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="BILLING_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="BILLING_ENTERPRISE_XREF" />
<DITableSpec name="Merge_BK" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="((Merge_BK.MD_BUSINESS_KEY = BILLING_ENTERPRISE_XREF.BUSINESS_KEYVALUE) AND&#xA;   (Merge_BK.MD_CP_ID = BILLING_ENTERPRISE_XREF.MD_CP_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="BILLING_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="BILLING_ENTERPRISE_XREF" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_GET_EK"/>
<DIAttribute name="ui_acta_from_schema_1" value="BILLING_ENTERPRISE_XREF"/>
<DIAttribute name="ui_display_name" value="QRY_MATCH"/>
<DIAttribute name="ui_where_text" value="(QRY_GET_EK.ENTERPRISE_KEY = BILLING_ENTERPRISE_XREF.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_MATCH" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_GET_EK.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="BILLING_ENTERPRISE_XREF.BUSINESS_KEYVALUE&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="BILLING_ENTERPRISE_XREF.MD_CP_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_GET_EK.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="BILLING_ENTERPRISE_XREF.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="BILLING_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="BILLING_ENTERPRISE_XREF.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="BILLING_ENTERPRISE_XREF" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_GET_EK" />
<DITableSpec name="BILLING_ENTERPRISE_XREF" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_GET_EK.ENTERPRISE_KEY = BILLING_ENTERPRISE_XREF.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="BILLING_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_MATCH"/>
<DIAttribute name="ui_display_name" value="QRY_LOOKUP"/>
</DIUIOptions>
<DISchema name="QRY_LOOKUP" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SSI_EXISTS" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_BILLING_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_MATCH.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_BILLING_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;" >
<FUNCTION_CALL name="lookup_ext"  type="DI" tableDatastore="SRCSTAGING_DS" tableOwner="SRCSTAGING_ALIAS" tableName="CSA_BILLING_SSI" >
<CONSTANT value="PRE_LOAD_CACHE" datatype="VARCHAR" size="14" />
<CONSTANT value="MAX" datatype="VARCHAR" size="3" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
<DIAttributes>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</FUNCTION_CALL>
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_MATCH" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_LOOKUP"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER"/>
<DIAttribute name="ui_where_text" value="(QRY_LOOKUP.SSI_EXISTS = 'None')"/>
</DIUIOptions>
<DISchema name="QRY_FILTER" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BATCH_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_PROCESS_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_LOOKUP" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_LOOKUP.SSI_EXISTS = 'None')" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="SSI_EXISTS" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_BILLING_SSNP_CTRL" >
<DIInputView name="QRY_FILTER"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>overflow_file</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>truncate</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Merge_BK"/>
</DIUIOptions>
<DIInputView name="QRY_JOIN_1"  />
<DIInputView name="QRY_JOIN_2"  />
<DIInputView name="QRY_JOIN_3"  />
<DIInputView name="QRY_JOIN_4"  />
<DIInputView name="QRY_JOIN_5"  />
<DIInputView name="QRY_JOIN_6"  />
<DISchema name="Merge_BK" >
</DISchema>
</DITransformCall>
</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIDataflow name="CSA_BILLING_LA_BACKFILL_CTRL_DF" typeId="1" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DITransforms>
<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="BILLING_ENTERPRISE_XREF" >
<DIOutputView name="BILLING_ENTERPRISE_XREF_1"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_BILLING_SSNP" >
<DIOutputView name="CSA_BILLING_SSNP"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SUBSCRIPTION_ENTERPRISE_XREF" >
<DIOutputView name="SUBSCRIPTION_ENTERPRISE_XREF1"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_BILLING_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="SUBSCRIPTION_ENTERPRISE_XREF1"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_1"/>
<DIAttribute name="ui_where_text" value="SUBSCRIPTION_ENTERPRISE_XREF1.BUSINESS_KEYVALUE=CSA_BILLING_SSNP.SUBSCRIPTION_BUSINESS_KEY and &#xD;&#xA;SUBSCRIPTION_ENTERPRISE_XREF1.MD_CP_ID=CSA_BILLING_SSNP.MD_CP_ID and &#xD;&#xA;SUBSCRIPTION_ENTERPRISE_XREF1.MD_BATCH_ID=$G_BATCH_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_1" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_BILLING_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_BILLING_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_BILLING_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_BILLING_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_BILLING_SSNP" />
<DITableSpec name="SUBSCRIPTION_ENTERPRISE_XREF1" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((SUBSCRIPTION_ENTERPRISE_XREF1.BUSINESS_KEYVALUE = CSA_BILLING_SSNP.SUBSCRIPTION_BUSINESS_KEY) AND&#xA;   (SUBSCRIPTION_ENTERPRISE_XREF1.MD_CP_ID = CSA_BILLING_SSNP.MD_CP_ID)) AND&#xA;   (SUBSCRIPTION_ENTERPRISE_XREF1.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF1" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="SUBSCRIPTION_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF1" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF1" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_INSTANCE_ENTERPRISE_XREF" >
<DIOutputView name="SERVICE_INSTANCE_ENTERPRISE_XREF2"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_BILLING_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="SERVICE_INSTANCE_ENTERPRISE_XREF2"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_2"/>
<DIAttribute name="ui_where_text" value="SERVICE_INSTANCE_ENTERPRISE_XREF2.BUSINESS_KEYVALUE=CSA_BILLING_SSNP.SERVICE_INSTANCE_BUSINESS_KEY and &#xD;&#xA;SERVICE_INSTANCE_ENTERPRISE_XREF2.MD_CP_ID=CSA_BILLING_SSNP.MD_CP_ID and &#xD;&#xA;SERVICE_INSTANCE_ENTERPRISE_XREF2.MD_BATCH_ID=$G_BATCH_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_2" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_BILLING_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_BILLING_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_BILLING_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_BILLING_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_BILLING_SSNP" />
<DITableSpec name="SERVICE_INSTANCE_ENTERPRISE_XREF2" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((SERVICE_INSTANCE_ENTERPRISE_XREF2.BUSINESS_KEYVALUE = CSA_BILLING_SSNP.SERVICE_INSTANCE_BUSINESS_KEY) AND&#xA;   (SERVICE_INSTANCE_ENTERPRISE_XREF2.MD_CP_ID = CSA_BILLING_SSNP.MD_CP_ID)) AND&#xA;   (SERVICE_INSTANCE_ENTERPRISE_XREF2.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF2" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="SERVICE_INSTANCE_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF2" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF2" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_OFFERING_ENTERPRISE_XREF" >
<DIOutputView name="SERVICE_OFFERING_ENTERPRISE_XREF3"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_BILLING_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="SERVICE_OFFERING_ENTERPRISE_XREF3"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_3"/>
<DIAttribute name="ui_where_text" value="SERVICE_OFFERING_ENTERPRISE_XREF3.BUSINESS_KEYVALUE=CSA_BILLING_SSNP.SERVICE_OFFERING_BUSINESS_KEY and &#xD;&#xA;SERVICE_OFFERING_ENTERPRISE_XREF3.MD_CP_ID=CSA_BILLING_SSNP.MD_CP_ID and &#xD;&#xA;SERVICE_OFFERING_ENTERPRISE_XREF3.MD_BATCH_ID=$G_BATCH_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_3" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_BILLING_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_BILLING_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_BILLING_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_BILLING_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_BILLING_SSNP" />
<DITableSpec name="SERVICE_OFFERING_ENTERPRISE_XREF3" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((SERVICE_OFFERING_ENTERPRISE_XREF3.BUSINESS_KEYVALUE = CSA_BILLING_SSNP.SERVICE_OFFERING_BUSINESS_KEY) AND&#xA;   (SERVICE_OFFERING_ENTERPRISE_XREF3.MD_CP_ID = CSA_BILLING_SSNP.MD_CP_ID)) AND&#xA;   (SERVICE_OFFERING_ENTERPRISE_XREF3.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF3" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="SERVICE_OFFERING_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF3" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF3" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="EXCHANGE_ENTERPRISE_XREF" >
<DIOutputView name="EXCHANGE_ENTERPRISE_XREF4"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_BILLING_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="EXCHANGE_ENTERPRISE_XREF4"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_4"/>
<DIAttribute name="ui_where_text" value="EXCHANGE_ENTERPRISE_XREF4.BUSINESS_KEYVALUE=CSA_BILLING_SSNP.EXCHANGE_BASE_BUSINESS_KEY and &#xD;&#xA;EXCHANGE_ENTERPRISE_XREF4.MD_CP_ID=CSA_BILLING_SSNP.MD_CP_ID and &#xD;&#xA;EXCHANGE_ENTERPRISE_XREF4.MD_BATCH_ID=$G_BATCH_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_4" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_BILLING_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_BILLING_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_BILLING_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_BILLING_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_BILLING_SSNP" />
<DITableSpec name="EXCHANGE_ENTERPRISE_XREF4" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((EXCHANGE_ENTERPRISE_XREF4.BUSINESS_KEYVALUE = CSA_BILLING_SSNP.EXCHANGE_BASE_BUSINESS_KEY) AND&#xA;   (EXCHANGE_ENTERPRISE_XREF4.MD_CP_ID = CSA_BILLING_SSNP.MD_CP_ID)) AND&#xA;   (EXCHANGE_ENTERPRISE_XREF4.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="EXCHANGE_ENTERPRISE_XREF4" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="EXCHANGE_BASE_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="EXCHANGE_ENTERPRISE_XREF4" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="EXCHANGE_ENTERPRISE_XREF4" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="EXCHANGE_ENTERPRISE_XREF" >
<DIOutputView name="EXCHANGE_ENTERPRISE_XREF5"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_BILLING_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="EXCHANGE_ENTERPRISE_XREF5"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_5"/>
<DIAttribute name="ui_where_text" value="EXCHANGE_ENTERPRISE_XREF5.BUSINESS_KEYVALUE=CSA_BILLING_SSNP.EXCHANGE_LOC_BUSINESS_KEY and &#xD;&#xA;EXCHANGE_ENTERPRISE_XREF5.MD_CP_ID=CSA_BILLING_SSNP.MD_CP_ID and &#xD;&#xA;EXCHANGE_ENTERPRISE_XREF5.MD_BATCH_ID=$G_BATCH_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_5" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_BILLING_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_BILLING_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_BILLING_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_BILLING_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_BILLING_SSNP" />
<DITableSpec name="EXCHANGE_ENTERPRISE_XREF5" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((EXCHANGE_ENTERPRISE_XREF5.BUSINESS_KEYVALUE = CSA_BILLING_SSNP.EXCHANGE_LOC_BUSINESS_KEY) AND&#xA;   (EXCHANGE_ENTERPRISE_XREF5.MD_CP_ID = CSA_BILLING_SSNP.MD_CP_ID)) AND&#xA;   (EXCHANGE_ENTERPRISE_XREF5.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="EXCHANGE_ENTERPRISE_XREF5" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="EXCHANGE_LOC_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="EXCHANGE_ENTERPRISE_XREF5" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="EXCHANGE_ENTERPRISE_XREF5" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_BLUEPRINT_ENTERPRISE_XREF" >
<DIOutputView name="SERVICE_BLUEPRINT_ENTERPRISE_XREF6"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_BILLING_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="SERVICE_BLUEPRINT_ENTERPRISE_XREF6"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_6"/>
<DIAttribute name="ui_where_text" value="SERVICE_BLUEPRINT_ENTERPRISE_XREF6.BUSINESS_KEYVALUE=CSA_BILLING_SSNP.SERVICE_BLUEPRINT_BUSINESS_KEY and &#xD;&#xA;SERVICE_BLUEPRINT_ENTERPRISE_XREF6.MD_CP_ID=CSA_BILLING_SSNP.MD_CP_ID and &#xD;&#xA;SERVICE_BLUEPRINT_ENTERPRISE_XREF6.MD_BATCH_ID=$G_BATCH_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_6" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_BILLING_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_BILLING_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_BILLING_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_BILLING_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_BILLING_SSNP" />
<DITableSpec name="SERVICE_BLUEPRINT_ENTERPRISE_XREF6" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((SERVICE_BLUEPRINT_ENTERPRISE_XREF6.BUSINESS_KEYVALUE = CSA_BILLING_SSNP.SERVICE_BLUEPRINT_BUSINESS_KEY) AND&#xA;   (SERVICE_BLUEPRINT_ENTERPRISE_XREF6.MD_CP_ID = CSA_BILLING_SSNP.MD_CP_ID)) AND&#xA;   (SERVICE_BLUEPRINT_ENTERPRISE_XREF6.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_ENTERPRISE_XREF6" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="SERVICE_BLUEPRINT_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_ENTERPRISE_XREF6" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_BILLING_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_ENTERPRISE_XREF6" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Merge_BK"/>
</DIUIOptions>
<DIInputView name="QRY_JOIN_1"  />
<DIInputView name="QRY_JOIN_2"  />
<DIInputView name="QRY_JOIN_3"  />
<DIInputView name="QRY_JOIN_4"  />
<DIInputView name="QRY_JOIN_5"  />
<DIInputView name="QRY_JOIN_6"  />
<DISchema name="Merge_BK" >
</DISchema>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_LOOKUP"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER"/>
<DIAttribute name="ui_where_text" value="(QRY_LOOKUP.SSI_EXISTS = 'None')"/>
</DIUIOptions>
<DISchema name="QRY_FILTER" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BATCH_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_PROCESS_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_LOOKUP" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_LOOKUP.SSI_EXISTS = 'None')" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="SSI_EXISTS" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_MATCH"/>
<DIAttribute name="ui_display_name" value="QRY_LOOKUP"/>
</DIUIOptions>
<DISchema name="QRY_LOOKUP" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SSI_EXISTS" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_BILLING_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_MATCH.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_BILLING_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;" >
<FUNCTION_CALL name="lookup_ext"  type="DI" tableDatastore="SRCSTAGING_DS" tableOwner="SRCSTAGING_ALIAS" tableName="CSA_BILLING_SSI" >
<CONSTANT value="PRE_LOAD_CACHE" datatype="VARCHAR" size="14" />
<CONSTANT value="MAX" datatype="VARCHAR" size="3" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
<DIAttributes>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</FUNCTION_CALL>
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_MATCH" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="BILLING_ENTERPRISE_XREF_1"/>
<DIAttribute name="ui_acta_from_schema_1" value="QRY_GET_EK"/>
<DIAttribute name="ui_display_name" value="QRY_MATCH"/>
<DIAttribute name="ui_where_text" value="(QRY_GET_EK.ENTERPRISE_KEY = BILLING_ENTERPRISE_XREF_1.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_MATCH" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_GET_EK.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="BILLING_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="BILLING_ENTERPRISE_XREF_1.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_GET_EK.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="BILLING_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="BILLING_ENTERPRISE_XREF_1" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="BILLING_ENTERPRISE_XREF_1.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="BILLING_ENTERPRISE_XREF_1" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_GET_EK" />
<DITableSpec name="BILLING_ENTERPRISE_XREF_1" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_GET_EK.ENTERPRISE_KEY = BILLING_ENTERPRISE_XREF_1.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="BILLING_ENTERPRISE_XREF_1" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="BILLING_ENTERPRISE_XREF_1"/>
<DIAttribute name="ui_acta_from_schema_1" value="Merge_BK"/>
<DIAttribute name="ui_display_name" value="QRY_GET_EK"/>
<DIAttribute name="ui_where_text" value="((Merge_BK.MD_BUSINESS_KEY = BILLING_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE) AND&#xA;   (Merge_BK.MD_CP_ID = BILLING_ENTERPRISE_XREF_1.MD_CP_ID))"/>
</DIUIOptions>
<DISchema name="QRY_GET_EK" >
<DIElement name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="BILLING_ENTERPRISE_XREF_1.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="BILLING_ENTERPRISE_XREF_1.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="BILLING_ENTERPRISE_XREF_1" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="BILLING_ENTERPRISE_XREF_1" />
<DITableSpec name="Merge_BK" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="((Merge_BK.MD_BUSINESS_KEY = BILLING_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE) AND&#xA;   (Merge_BK.MD_CP_ID = BILLING_ENTERPRISE_XREF_1.MD_CP_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="BILLING_ENTERPRISE_XREF_1" column="BUSINESS_KEYVALUE" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="BILLING_ENTERPRISE_XREF_1" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_BILLING_SSNP_CTRL" >
<DIInputView name="QRY_FILTER"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>overflow_file</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>truncate</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="CSA_COMPONENT_BACKFILL_CTRL_WF" typeId="2" >
<DIProperties>
<DIAttribute name="Description" value="This workflow determines the keys that are consolidated from each source and retrieves any non-updated records"/>
</DIProperties>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="the Try of the Try / Catch Block"/>
<DIAttribute name="ui_display_name" value="CSA_COMPONENT_BACKFILL_CTRL_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow. The script will also be used to populate the local workflow variables."/>
<DIAttribute name="ui_display_name" value="CSA_COMPONENT_BACKFILL_CTRL_START_SC"/>
<DIAttribute name="ui_script_text" value="# CALL FUNCTION TO TRACK START OF WORKFLOW&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="CSA_COMPONENT_BACKFILL_CTRL_DF" >
</DICallStep>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="CSA_COMPONENT_FK_BACKFILL_CTRL_DF" >
</DICallStep>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="CSA_COMPONENT_LA_BACKFILL_CTRL_DF" >
</DICallStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script that calls the custom function that closes the metadata records that are part of tracking the workflow process."/>
<DIAttribute name="ui_display_name" value="CSA_COMPONENT_BACKFILL_CTRL_END_SC"/>
<DIAttribute name="ui_script_text" value="# CALL FUNCTION TO TRACK END OF WORKFLOW&#xA;ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The workflow catch object is the end of the TRY/CATCH block in BO DS.  This catch block contains the script object that calls a custom fail workflow function used to write the metadata for failed jobs."/>
<DIAttribute name="ui_display_name" value="CSA_COMPONENT_BACKFILL_CTRL_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that is used to write the metadata for failed workflows."/>
<DIAttribute name="ui_display_name" value="CSA_COMPONENT_BACKFILL_CTRL_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="# CALL FUNCTION TO TRACK FAIL OF WORKFLOW&#xA;ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="CSA_COMPONENT_BACKFILL_CTRL_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="QRY_EK - Get a list of all ENTERPRISE_KEYs corresponding to BUSINESS_KEYs in SSI_V.&#xD;&#xA;QRY_MATCH - return all BUSINESS_KEYs and CP_IDs associated with those EKs.&#xD;&#xA;QRY_LOOKUP - lookup against CSA_COMPONENT_SSI to see if that BK / CP exists already.&#xD;&#xA;QRY_FILTER - If it DOES NOT exist, add it to the CTRL file."/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="Description" value="The dataflow queries for the consolidated key from each source and for only those records in the consolidation that have not been updated"/>
</DIProperties>
<DITransforms>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Query for the consolidated key from each source and for only those records in the consolidation that have not been updated"/>
<DIAttribute name="ui_acta_from_schema_0" value="COMPONENT_ENTERPRISE_XREF"/>
<DIAttribute name="ui_acta_from_schema_1" value="COMPONENT_SSI_V"/>
<DIAttribute name="ui_display_name" value="QRY_EK"/>
<DIAttribute name="ui_where_text" value="COMPONENT_ENTERPRISE_XREF.BUSINESS_KEYVALUE = COMPONENT_SSI_V.MD_BUSINESS_KEY&#xD;&#xA;and COMPONENT_ENTERPRISE_XREF.MD_CP_ID = COMPONENT_SSI_V.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_EK" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="COMPONENT_ENTERPRISE_XREF.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="COMPONENT_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="COMPONENT_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="COMPONENT_SSI_V" />
<DITableSpec name="COMPONENT_ENTERPRISE_XREF" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="((COMPONENT_ENTERPRISE_XREF.BUSINESS_KEYVALUE = COMPONENT_SSI_V.MD_BUSINESS_KEY) AND&#xA;   (COMPONENT_ENTERPRISE_XREF.MD_CP_ID = COMPONENT_SSI_V.MD_CP_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="COMPONENT_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="COMPONENT_SSI_V" column="MD_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="COMPONENT_ENTERPRISE_XREF" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="COMPONENT_SSI_V" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
<DIGroupBy>
<DIExpression isString="true" expr="COMPONENT_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="COMPONENT_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIGroupBy>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_COMPONENT_SSNP_CTRL" >
<DIInputView name="QRY_FILTER"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit>1000</bulk_ldr_rows_per_commit>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>No</loader_auto_correct>
                <loader_bulk_load>1</loader_bulk_load>
                <loader_compare_column>Compare by name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>overflow_file</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>No</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>No</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>truncate</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>No</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="COMPONENT_ENTERPRISE_XREF" >
<DIOutputView name="COMPONENT_ENTERPRISE_XREF"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="QRY_LOOKUP"/>
</DIUIOptions>
<DISchema name="QRY_LOOKUP" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="Merge.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="Merge.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SSI_EXISTS" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_COMPONENT_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', Merge.MD_BUSINESS_KEY, MD_CP_ID, '=', Merge.MD_CP_ID  ]) &#xD;&#xA;SET(&quot;run_as_separate_process&quot; = 'no')"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="Merge.MD_CP_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="Merge.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="Merge.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_COMPONENT_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', Merge.MD_BUSINESS_KEY, MD_CP_ID, '=', Merge.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;" >
<FUNCTION_CALL name="lookup_ext"  type="DI" tableDatastore="SRCSTAGING_DS" tableOwner="SRCSTAGING_ALIAS" tableName="CSA_COMPONENT_SSI" >
<CONSTANT value="PRE_LOAD_CACHE" datatype="VARCHAR" size="14" />
<CONSTANT value="MAX" datatype="VARCHAR" size="3" />
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_CP_ID" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
<DIAttributes>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</FUNCTION_CALL>
</DIExpression>
<DIExpression isString="true" expr="Merge.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="Merge" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="COMPONENT_ENTERPRISE_XREF"/>
<DIAttribute name="ui_acta_from_schema_1" value="QRY_EK"/>
<DIAttribute name="ui_display_name" value="QRY_MATCH"/>
<DIAttribute name="ui_where_text" value="(QRY_EK.MD_ENTERPRISE_KEY = COMPONENT_ENTERPRISE_XREF.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_MATCH" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_EK.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="COMPONENT_ENTERPRISE_XREF.BUSINESS_KEYVALUE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="COMPONENT_ENTERPRISE_XREF.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_EK.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_EK" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="COMPONENT_ENTERPRISE_XREF.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="COMPONENT_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="COMPONENT_ENTERPRISE_XREF.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="COMPONENT_ENTERPRISE_XREF" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="COMPONENT_ENTERPRISE_XREF" />
<DITableSpec name="QRY_EK" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_EK.MD_ENTERPRISE_KEY = COMPONENT_ENTERPRISE_XREF.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_EK" column="MD_ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="COMPONENT_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_LOOKUP"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER"/>
<DIAttribute name="ui_where_text" value="QRY_LOOKUP.SSI_EXISTS = 'None'"/>
</DIUIOptions>
<DISchema name="QRY_FILTER" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BATCH_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_PROCESS_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_LOOKUP" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_LOOKUP.SSI_EXISTS = 'None')" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="SSI_EXISTS" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="COMPONENT_SSI_V" >
<DIOutputView name="COMPONENT_SSI_V"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="COMPONENT_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="COMPONENT_HISTORY_ENTERPRISE_XREF"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="COMPONENT_HISTORY_ENTERPRISE_XREF"/>
<DIAttribute name="ui_display_name" value="QRY_DISTINCT"/>
</DIUIOptions>
<DISchema name="QRY_DISTINCT" >
<DIElement name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="COMPONENT_HISTORY_ENTERPRISE_XREF.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="COMPONENT_HISTORY_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="COMPONENT_HISTORY_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="COMPONENT_HISTORY_ENTERPRISE_XREF" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="COMPONENT_ENTERPRISE_XREF"/>
<DIAttribute name="ui_acta_from_schema_1" value="QRY_DISTINCT"/>
<DIAttribute name="ui_display_name" value="QRY_HIS"/>
<DIAttribute name="ui_where_text" value="(QRY_DISTINCT.ENTERPRISE_KEY=COMPONENT_ENTERPRISE_XREF.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_HIS" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="COMPONENT_ENTERPRISE_XREF.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="COMPONENT_ENTERPRISE_XREF.BUSINESS_KEYVALUE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="COMPONENT_ENTERPRISE_XREF.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="COMPONENT_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="COMPONENT_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="COMPONENT_ENTERPRISE_XREF.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="COMPONENT_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="COMPONENT_ENTERPRISE_XREF.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="COMPONENT_ENTERPRISE_XREF" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_DISTINCT" />
<DITableSpec name="COMPONENT_ENTERPRISE_XREF" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_DISTINCT.ENTERPRISE_KEY = COMPONENT_ENTERPRISE_XREF.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_DISTINCT" column="ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="COMPONENT_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIInputView name="QRY_HIS"  />
<DIInputView name="QRY_MATCH"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>
</DITransforms>
<DIAttributes>
<DIAttribute name="Audit" hasNestedXMLTree ="true">
<Audit>
          <AuditObjects/>
          <AuditRules/>
          <Notifications>
            <RaiseException Enabled="true"/>
            <Mail Enabled="false"/>
            <Script Enabled="false"/>
          </Notifications>
        </Audit>
</DIAttribute>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIDataflow name="CSA_COMPONENT_FK_BACKFILL_CTRL_DF" typeId="1" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DITransforms>
<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_COMPONENT_SSNP" >
<DIOutputView name="CSA_COMPONENT_SSNP"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="COMPONENT_ENTERPRISE_XREF" >
<DIOutputView name="COMPONENT_ENTERPRISE_XREF"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="COMPONENT_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="COMPONENT_HISTORY_ENTERPRISE_XREF1"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_COMPONENT_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="COMPONENT_HISTORY_ENTERPRISE_XREF1"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_1"/>
<DIAttribute name="ui_where_text" value="COMPONENT_HISTORY_ENTERPRISE_XREF1.BUSINESS_KEYVALUE=CSA_COMPONENT_SSNP.PARENT_BUSINESS_KEY and &#xD;&#xA;COMPONENT_HISTORY_ENTERPRISE_XREF1.MD_CP_ID=CSA_COMPONENT_SSNP.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_1" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_COMPONENT_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_COMPONENT_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_COMPONENT_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_COMPONENT_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_COMPONENT_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_COMPONENT_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_COMPONENT_SSNP" />
<DITableSpec name="COMPONENT_HISTORY_ENTERPRISE_XREF1" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((COMPONENT_HISTORY_ENTERPRISE_XREF1.BUSINESS_KEYVALUE = CSA_COMPONENT_SSNP.PARENT_BUSINESS_KEY) AND&#xA;   (COMPONENT_HISTORY_ENTERPRISE_XREF1.MD_CP_ID = CSA_COMPONENT_SSNP.MD_CP_ID)) AND&#xA;   (COMPONENT_HISTORY_ENTERPRISE_XREF1.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="COMPONENT_HISTORY_ENTERPRISE_XREF1" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_COMPONENT_SSNP" column="PARENT_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="COMPONENT_HISTORY_ENTERPRISE_XREF1" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_COMPONENT_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="COMPONENT_HISTORY_ENTERPRISE_XREF1" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF2"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_COMPONENT_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF2"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_2"/>
<DIAttribute name="ui_where_text" value="SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF2.BUSINESS_KEYVALUE=CSA_COMPONENT_SSNP.SERVICE_INSTANCE_BUSINESS_KEY and &#xD;&#xA;SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF2.MD_CP_ID=CSA_COMPONENT_SSNP.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_2" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_COMPONENT_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_COMPONENT_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_COMPONENT_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_COMPONENT_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_COMPONENT_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_COMPONENT_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_COMPONENT_SSNP" />
<DITableSpec name="SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF2" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF2.BUSINESS_KEYVALUE = CSA_COMPONENT_SSNP.SERVICE_INSTANCE_BUSINESS_KEY) AND&#xA;   (SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF2.MD_CP_ID = CSA_COMPONENT_SSNP.MD_CP_ID)) AND&#xA;   (SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF2.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF2" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_COMPONENT_SSNP" column="SERVICE_INSTANCE_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF2" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_COMPONENT_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF2" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="ORG_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="ORG_HISTORY_ENTERPRISE_XREF3"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_COMPONENT_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="ORG_HISTORY_ENTERPRISE_XREF3"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_3"/>
<DIAttribute name="ui_where_text" value="ORG_HISTORY_ENTERPRISE_XREF3.BUSINESS_KEYVALUE=CSA_COMPONENT_SSNP.RESOURCE_PROVIDER_BUSINESS_KEY and &#xD;&#xA;ORG_HISTORY_ENTERPRISE_XREF3.MD_CP_ID=CSA_COMPONENT_SSNP.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_3" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_COMPONENT_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_COMPONENT_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_COMPONENT_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_COMPONENT_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_COMPONENT_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_COMPONENT_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_COMPONENT_SSNP" />
<DITableSpec name="ORG_HISTORY_ENTERPRISE_XREF3" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((ORG_HISTORY_ENTERPRISE_XREF3.BUSINESS_KEYVALUE = CSA_COMPONENT_SSNP.RESOURCE_PROVIDER_BUSINESS_KEY) AND&#xA;   (ORG_HISTORY_ENTERPRISE_XREF3.MD_CP_ID = CSA_COMPONENT_SSNP.MD_CP_ID)) AND&#xA;   (ORG_HISTORY_ENTERPRISE_XREF3.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="ORG_HISTORY_ENTERPRISE_XREF3" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_COMPONENT_SSNP" column="RESOURCE_PROVIDER_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="ORG_HISTORY_ENTERPRISE_XREF3" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_COMPONENT_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="ORG_HISTORY_ENTERPRISE_XREF3" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="Merge_BK"/>
<DIAttribute name="ui_acta_from_schema_1" value="COMPONENT_ENTERPRISE_XREF"/>
<DIAttribute name="ui_display_name" value="QRY_GET_EK"/>
<DIAttribute name="ui_where_text" value="((Merge_BK.MD_BUSINESS_KEY = COMPONENT_ENTERPRISE_XREF.BUSINESS_KEYVALUE) AND&#xD;&#xA;   (Merge_BK.MD_CP_ID = COMPONENT_ENTERPRISE_XREF.MD_CP_ID))"/>
</DIUIOptions>
<DISchema name="QRY_GET_EK" >
<DIElement name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="COMPONENT_ENTERPRISE_XREF.ENTERPRISE_KEY&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="COMPONENT_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="COMPONENT_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="COMPONENT_ENTERPRISE_XREF" />
<DITableSpec name="Merge_BK" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="((Merge_BK.MD_BUSINESS_KEY = COMPONENT_ENTERPRISE_XREF.BUSINESS_KEYVALUE) AND&#xA;   (Merge_BK.MD_CP_ID = COMPONENT_ENTERPRISE_XREF.MD_CP_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="COMPONENT_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="COMPONENT_ENTERPRISE_XREF" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_GET_EK"/>
<DIAttribute name="ui_acta_from_schema_1" value="COMPONENT_ENTERPRISE_XREF"/>
<DIAttribute name="ui_display_name" value="QRY_MATCH"/>
<DIAttribute name="ui_where_text" value="(QRY_GET_EK.ENTERPRISE_KEY = COMPONENT_ENTERPRISE_XREF.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_MATCH" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_GET_EK.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="COMPONENT_ENTERPRISE_XREF.BUSINESS_KEYVALUE&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="COMPONENT_ENTERPRISE_XREF.MD_CP_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_GET_EK.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="COMPONENT_ENTERPRISE_XREF.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="COMPONENT_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="COMPONENT_ENTERPRISE_XREF.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="COMPONENT_ENTERPRISE_XREF" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_GET_EK" />
<DITableSpec name="COMPONENT_ENTERPRISE_XREF" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_GET_EK.ENTERPRISE_KEY = COMPONENT_ENTERPRISE_XREF.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="COMPONENT_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_MATCH"/>
<DIAttribute name="ui_display_name" value="QRY_LOOKUP"/>
</DIUIOptions>
<DISchema name="QRY_LOOKUP" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SSI_EXISTS" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_COMPONENT_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_MATCH.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_COMPONENT_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;" >
<FUNCTION_CALL name="lookup_ext"  type="DI" tableDatastore="SRCSTAGING_DS" tableOwner="SRCSTAGING_ALIAS" tableName="CSA_COMPONENT_SSI" >
<CONSTANT value="PRE_LOAD_CACHE" datatype="VARCHAR" size="14" />
<CONSTANT value="MAX" datatype="VARCHAR" size="3" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
<DIAttributes>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</FUNCTION_CALL>
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_MATCH" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_LOOKUP"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER"/>
<DIAttribute name="ui_where_text" value="(QRY_LOOKUP.SSI_EXISTS = 'None')"/>
</DIUIOptions>
<DISchema name="QRY_FILTER" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BATCH_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_PROCESS_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_LOOKUP" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_LOOKUP.SSI_EXISTS = 'None')" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="SSI_EXISTS" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_COMPONENT_SSNP_CTRL" >
<DIInputView name="QRY_FILTER"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>overflow_file</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>truncate</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Merge_BK"/>
</DIUIOptions>
<DIInputView name="QRY_JOIN_1"  />
<DIInputView name="QRY_JOIN_2"  />
<DIInputView name="QRY_JOIN_3"  />
<DISchema name="Merge_BK" >
</DISchema>
</DITransformCall>
</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIDataflow name="CSA_COMPONENT_LA_BACKFILL_CTRL_DF" typeId="1" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DITransforms>
<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="COMPONENT_ENTERPRISE_XREF" >
<DIOutputView name="COMPONENT_ENTERPRISE_XREF_1"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_COMPONENT_SSNP" >
<DIOutputView name="CSA_COMPONENT_SSNP"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="COMPONENT_ENTERPRISE_XREF" >
<DIOutputView name="COMPONENT_ENTERPRISE_XREF1"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_COMPONENT_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="COMPONENT_ENTERPRISE_XREF1"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_1"/>
<DIAttribute name="ui_where_text" value="COMPONENT_ENTERPRISE_XREF1.BUSINESS_KEYVALUE=CSA_COMPONENT_SSNP.PARENT_BUSINESS_KEY and &#xD;&#xA;COMPONENT_ENTERPRISE_XREF1.MD_CP_ID=CSA_COMPONENT_SSNP.MD_CP_ID and &#xD;&#xA;COMPONENT_ENTERPRISE_XREF1.MD_BATCH_ID=$G_BATCH_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_1" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_COMPONENT_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_COMPONENT_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_COMPONENT_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_COMPONENT_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_COMPONENT_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_COMPONENT_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_COMPONENT_SSNP" />
<DITableSpec name="COMPONENT_ENTERPRISE_XREF1" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((COMPONENT_ENTERPRISE_XREF1.BUSINESS_KEYVALUE = CSA_COMPONENT_SSNP.PARENT_BUSINESS_KEY) AND&#xA;   (COMPONENT_ENTERPRISE_XREF1.MD_CP_ID = CSA_COMPONENT_SSNP.MD_CP_ID)) AND&#xA;   (COMPONENT_ENTERPRISE_XREF1.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="COMPONENT_ENTERPRISE_XREF1" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_COMPONENT_SSNP" column="PARENT_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="COMPONENT_ENTERPRISE_XREF1" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_COMPONENT_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="COMPONENT_ENTERPRISE_XREF1" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_INSTANCE_ENTERPRISE_XREF" >
<DIOutputView name="SERVICE_INSTANCE_ENTERPRISE_XREF2"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_COMPONENT_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="SERVICE_INSTANCE_ENTERPRISE_XREF2"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_2"/>
<DIAttribute name="ui_where_text" value="SERVICE_INSTANCE_ENTERPRISE_XREF2.BUSINESS_KEYVALUE=CSA_COMPONENT_SSNP.SERVICE_INSTANCE_BUSINESS_KEY and &#xD;&#xA;SERVICE_INSTANCE_ENTERPRISE_XREF2.MD_CP_ID=CSA_COMPONENT_SSNP.MD_CP_ID and &#xD;&#xA;SERVICE_INSTANCE_ENTERPRISE_XREF2.MD_BATCH_ID=$G_BATCH_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_2" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_COMPONENT_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_COMPONENT_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_COMPONENT_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_COMPONENT_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_COMPONENT_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_COMPONENT_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_COMPONENT_SSNP" />
<DITableSpec name="SERVICE_INSTANCE_ENTERPRISE_XREF2" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((SERVICE_INSTANCE_ENTERPRISE_XREF2.BUSINESS_KEYVALUE = CSA_COMPONENT_SSNP.SERVICE_INSTANCE_BUSINESS_KEY) AND&#xA;   (SERVICE_INSTANCE_ENTERPRISE_XREF2.MD_CP_ID = CSA_COMPONENT_SSNP.MD_CP_ID)) AND&#xA;   (SERVICE_INSTANCE_ENTERPRISE_XREF2.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF2" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_COMPONENT_SSNP" column="SERVICE_INSTANCE_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF2" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_COMPONENT_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF2" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="ORG_ENTERPRISE_XREF" >
<DIOutputView name="ORG_ENTERPRISE_XREF3"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_COMPONENT_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="ORG_ENTERPRISE_XREF3"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_3"/>
<DIAttribute name="ui_where_text" value="ORG_ENTERPRISE_XREF3.BUSINESS_KEYVALUE=CSA_COMPONENT_SSNP.RESOURCE_PROVIDER_BUSINESS_KEY and &#xD;&#xA;ORG_ENTERPRISE_XREF3.MD_CP_ID=CSA_COMPONENT_SSNP.MD_CP_ID and &#xD;&#xA;ORG_ENTERPRISE_XREF3.MD_BATCH_ID=$G_BATCH_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_3" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_COMPONENT_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_COMPONENT_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_COMPONENT_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_COMPONENT_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_COMPONENT_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_COMPONENT_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_COMPONENT_SSNP" />
<DITableSpec name="ORG_ENTERPRISE_XREF3" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((ORG_ENTERPRISE_XREF3.BUSINESS_KEYVALUE = CSA_COMPONENT_SSNP.RESOURCE_PROVIDER_BUSINESS_KEY) AND&#xA;   (ORG_ENTERPRISE_XREF3.MD_CP_ID = CSA_COMPONENT_SSNP.MD_CP_ID)) AND&#xA;   (ORG_ENTERPRISE_XREF3.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF3" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_COMPONENT_SSNP" column="RESOURCE_PROVIDER_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF3" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_COMPONENT_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF3" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Merge_BK"/>
</DIUIOptions>
<DIInputView name="QRY_JOIN_1"  />
<DIInputView name="QRY_JOIN_2"  />
<DIInputView name="QRY_JOIN_3"  />
<DISchema name="Merge_BK" >
</DISchema>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_LOOKUP"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER"/>
<DIAttribute name="ui_where_text" value="(QRY_LOOKUP.SSI_EXISTS = 'None')"/>
</DIUIOptions>
<DISchema name="QRY_FILTER" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BATCH_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_PROCESS_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_LOOKUP" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_LOOKUP.SSI_EXISTS = 'None')" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="SSI_EXISTS" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_MATCH"/>
<DIAttribute name="ui_display_name" value="QRY_LOOKUP"/>
</DIUIOptions>
<DISchema name="QRY_LOOKUP" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SSI_EXISTS" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_COMPONENT_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_MATCH.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_COMPONENT_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;" >
<FUNCTION_CALL name="lookup_ext"  type="DI" tableDatastore="SRCSTAGING_DS" tableOwner="SRCSTAGING_ALIAS" tableName="CSA_COMPONENT_SSI" >
<CONSTANT value="PRE_LOAD_CACHE" datatype="VARCHAR" size="14" />
<CONSTANT value="MAX" datatype="VARCHAR" size="3" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
<DIAttributes>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</FUNCTION_CALL>
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_MATCH" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="COMPONENT_ENTERPRISE_XREF_1"/>
<DIAttribute name="ui_acta_from_schema_1" value="QRY_GET_EK"/>
<DIAttribute name="ui_display_name" value="QRY_MATCH"/>
<DIAttribute name="ui_where_text" value="(QRY_GET_EK.ENTERPRISE_KEY = COMPONENT_ENTERPRISE_XREF_1.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_MATCH" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_GET_EK.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="COMPONENT_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="COMPONENT_ENTERPRISE_XREF_1.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_GET_EK.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="COMPONENT_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="COMPONENT_ENTERPRISE_XREF_1" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="COMPONENT_ENTERPRISE_XREF_1.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="COMPONENT_ENTERPRISE_XREF_1" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_GET_EK" />
<DITableSpec name="COMPONENT_ENTERPRISE_XREF_1" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_GET_EK.ENTERPRISE_KEY = COMPONENT_ENTERPRISE_XREF_1.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="COMPONENT_ENTERPRISE_XREF_1" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="COMPONENT_ENTERPRISE_XREF_1"/>
<DIAttribute name="ui_acta_from_schema_1" value="Merge_BK"/>
<DIAttribute name="ui_display_name" value="QRY_GET_EK"/>
<DIAttribute name="ui_where_text" value="((Merge_BK.MD_BUSINESS_KEY = COMPONENT_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE) AND&#xA;   (Merge_BK.MD_CP_ID = COMPONENT_ENTERPRISE_XREF_1.MD_CP_ID))"/>
</DIUIOptions>
<DISchema name="QRY_GET_EK" >
<DIElement name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="COMPONENT_ENTERPRISE_XREF_1.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="COMPONENT_ENTERPRISE_XREF_1.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="COMPONENT_ENTERPRISE_XREF_1" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="COMPONENT_ENTERPRISE_XREF_1" />
<DITableSpec name="Merge_BK" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="((Merge_BK.MD_BUSINESS_KEY = COMPONENT_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE) AND&#xA;   (Merge_BK.MD_CP_ID = COMPONENT_ENTERPRISE_XREF_1.MD_CP_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="COMPONENT_ENTERPRISE_XREF_1" column="BUSINESS_KEYVALUE" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="COMPONENT_ENTERPRISE_XREF_1" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_COMPONENT_SSNP_CTRL" >
<DIInputView name="QRY_FILTER"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>overflow_file</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>truncate</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="CSA_ORG_BACKFILL_CTRL_WF" typeId="2" >
<DIProperties>
<DIAttribute name="Description" value="This workflow determines the keys that are consolidated from each source and retrieves any non-updated records"/>
</DIProperties>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="the Try of the Try / Catch Block"/>
<DIAttribute name="ui_display_name" value="CSA_ORG_BACKFILL_CTRL_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow. The script will also be used to populate the local workflow variables."/>
<DIAttribute name="ui_display_name" value="CSA_ORG_BACKFILL_CTRL_START_SC"/>
<DIAttribute name="ui_script_text" value="# CALL FUNCTION TO TRACK START OF WORKFLOW&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="CSA_ORG_BACKFILL_CTRL_DF" >
</DICallStep>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="CSA_ORG_FK_BACKFILL_CTRL_DF" >
</DICallStep>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="CSA_ORG_LA_BACKFILL_CTRL_DF" >
</DICallStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script that calls the custom function that closes the metadata records that are part of tracking the workflow process."/>
<DIAttribute name="ui_display_name" value="CSA_ORG_BACKFILL_CTRL_END_SC"/>
<DIAttribute name="ui_script_text" value="# CALL FUNCTION TO TRACK END OF WORKFLOW&#xA;ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The workflow catch object is the end of the TRY/CATCH block in BO DS.  This catch block contains the script object that calls a custom fail workflow function used to write the metadata for failed jobs."/>
<DIAttribute name="ui_display_name" value="CSA_ORG_BACKFILL_CTRL_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that is used to write the metadata for failed workflows."/>
<DIAttribute name="ui_display_name" value="CSA_ORG_BACKFILL_CTRL_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="# CALL FUNCTION TO TRACK FAIL OF WORKFLOW&#xA;ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="CSA_ORG_BACKFILL_CTRL_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="QRY_EK - Get a list of all ENTERPRISE_KEYs corresponding to BUSINESS_KEYs in SSI_V.&#xD;&#xA;QRY_MATCH - return all BUSINESS_KEYs and CP_IDs associated with those EKs.&#xD;&#xA;QRY_LOOKUP - lookup against CSA_ORG_SSI to see if that BK / CP exists already.&#xD;&#xA;QRY_FILTER - If it DOES NOT exist, add it to the CTRL file."/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="Description" value="The dataflow queries for the consolidated key from each source and for only those records in the consolidation that have not been updated"/>
</DIProperties>
<DITransforms>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Query for the consolidated key from each source and for only those records in the consolidation that have not been updated"/>
<DIAttribute name="ui_acta_from_schema_0" value="ORG_ENTERPRISE_XREF"/>
<DIAttribute name="ui_acta_from_schema_1" value="ORG_SSI_V"/>
<DIAttribute name="ui_display_name" value="QRY_EK"/>
<DIAttribute name="ui_where_text" value="ORG_ENTERPRISE_XREF.BUSINESS_KEYVALUE = ORG_SSI_V.MD_BUSINESS_KEY&#xD;&#xA;and ORG_ENTERPRISE_XREF.MD_CP_ID = ORG_SSI_V.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_EK" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="ORG_ENTERPRISE_XREF.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="ORG_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="ORG_SSI_V" />
<DITableSpec name="ORG_ENTERPRISE_XREF" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="((ORG_ENTERPRISE_XREF.BUSINESS_KEYVALUE = ORG_SSI_V.MD_BUSINESS_KEY) AND&#xA;   (ORG_ENTERPRISE_XREF.MD_CP_ID = ORG_SSI_V.MD_CP_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="ORG_SSI_V" column="MD_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="ORG_SSI_V" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
<DIGroupBy>
<DIExpression isString="true" expr="ORG_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIGroupBy>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_ORG_SSNP_CTRL" >
<DIInputView name="QRY_FILTER"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit>1000</bulk_ldr_rows_per_commit>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>No</loader_auto_correct>
                <loader_bulk_load>1</loader_bulk_load>
                <loader_compare_column>Compare by name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>overflow_file</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>No</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>No</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>truncate</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>No</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="ORG_ENTERPRISE_XREF" >
<DIOutputView name="ORG_ENTERPRISE_XREF"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="QRY_LOOKUP"/>
</DIUIOptions>
<DISchema name="QRY_LOOKUP" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="Merge.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="Merge.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SSI_EXISTS" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_ORG_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', Merge.MD_BUSINESS_KEY, MD_CP_ID, '=', Merge.MD_CP_ID  ]) &#xD;&#xA;SET(&quot;run_as_separate_process&quot; = 'no')"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="Merge.MD_CP_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="Merge.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="Merge.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_ORG_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', Merge.MD_BUSINESS_KEY, MD_CP_ID, '=', Merge.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;" >
<FUNCTION_CALL name="lookup_ext"  type="DI" tableDatastore="SRCSTAGING_DS" tableOwner="SRCSTAGING_ALIAS" tableName="CSA_ORG_SSI" >
<CONSTANT value="PRE_LOAD_CACHE" datatype="VARCHAR" size="14" />
<CONSTANT value="MAX" datatype="VARCHAR" size="3" />
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_CP_ID" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
<DIAttributes>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</FUNCTION_CALL>
</DIExpression>
<DIExpression isString="true" expr="Merge.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="Merge" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="ORG_ENTERPRISE_XREF"/>
<DIAttribute name="ui_acta_from_schema_1" value="QRY_EK"/>
<DIAttribute name="ui_display_name" value="QRY_MATCH"/>
<DIAttribute name="ui_where_text" value="(QRY_EK.MD_ENTERPRISE_KEY = ORG_ENTERPRISE_XREF.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_MATCH" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_EK.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="ORG_ENTERPRISE_XREF.BUSINESS_KEYVALUE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="ORG_ENTERPRISE_XREF.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_EK.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_EK" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="ORG_ENTERPRISE_XREF.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="ORG_ENTERPRISE_XREF.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="ORG_ENTERPRISE_XREF" />
<DITableSpec name="QRY_EK" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_EK.MD_ENTERPRISE_KEY = ORG_ENTERPRISE_XREF.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_EK" column="MD_ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_LOOKUP"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER"/>
<DIAttribute name="ui_where_text" value="QRY_LOOKUP.SSI_EXISTS = 'None'"/>
</DIUIOptions>
<DISchema name="QRY_FILTER" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BATCH_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_PROCESS_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_LOOKUP" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_LOOKUP.SSI_EXISTS = 'None')" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="SSI_EXISTS" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="ORG_SSI_V" >
<DIOutputView name="ORG_SSI_V"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="ORG_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="ORG_HISTORY_ENTERPRISE_XREF"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="ORG_HISTORY_ENTERPRISE_XREF"/>
<DIAttribute name="ui_display_name" value="QRY_DISTINCT"/>
</DIUIOptions>
<DISchema name="QRY_DISTINCT" >
<DIElement name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="ORG_HISTORY_ENTERPRISE_XREF.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="ORG_HISTORY_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="ORG_HISTORY_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="ORG_HISTORY_ENTERPRISE_XREF" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="ORG_ENTERPRISE_XREF"/>
<DIAttribute name="ui_acta_from_schema_1" value="QRY_DISTINCT"/>
<DIAttribute name="ui_display_name" value="QRY_HIS"/>
<DIAttribute name="ui_where_text" value="(QRY_DISTINCT.ENTERPRISE_KEY=ORG_ENTERPRISE_XREF.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_HIS" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="ORG_ENTERPRISE_XREF.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="ORG_ENTERPRISE_XREF.BUSINESS_KEYVALUE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="ORG_ENTERPRISE_XREF.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="ORG_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="ORG_ENTERPRISE_XREF.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="ORG_ENTERPRISE_XREF.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_DISTINCT" />
<DITableSpec name="ORG_ENTERPRISE_XREF" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_DISTINCT.ENTERPRISE_KEY = ORG_ENTERPRISE_XREF.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_DISTINCT" column="ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIInputView name="QRY_HIS"  />
<DIInputView name="QRY_MATCH"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>
</DITransforms>
<DIAttributes>
<DIAttribute name="Audit" hasNestedXMLTree ="true">
<Audit>
          <AuditObjects/>
          <AuditRules/>
          <Notifications>
            <RaiseException Enabled="true"/>
            <Mail Enabled="false"/>
            <Script Enabled="false"/>
          </Notifications>
        </Audit>
</DIAttribute>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIDataflow name="CSA_ORG_FK_BACKFILL_CTRL_DF" typeId="1" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DITransforms>
<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_ORG_SSNP" >
<DIOutputView name="CSA_ORG_SSNP"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="ORG_ENTERPRISE_XREF" >
<DIOutputView name="ORG_ENTERPRISE_XREF"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="PERSON_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="PERSON_HISTORY_ENTERPRISE_XREF1"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_ORG_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="PERSON_HISTORY_ENTERPRISE_XREF1"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_1"/>
<DIAttribute name="ui_where_text" value="PERSON_HISTORY_ENTERPRISE_XREF1.BUSINESS_KEYVALUE=CSA_ORG_SSNP.MANAGER_BUSINESS_KEY and &#xD;&#xA;PERSON_HISTORY_ENTERPRISE_XREF1.MD_CP_ID=CSA_ORG_SSNP.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_1" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_ORG_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_ORG_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_ORG_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_ORG_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_ORG_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_ORG_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_ORG_SSNP" />
<DITableSpec name="PERSON_HISTORY_ENTERPRISE_XREF1" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((PERSON_HISTORY_ENTERPRISE_XREF1.BUSINESS_KEYVALUE = CSA_ORG_SSNP.MANAGER_BUSINESS_KEY) AND&#xA;   (PERSON_HISTORY_ENTERPRISE_XREF1.MD_CP_ID = CSA_ORG_SSNP.MD_CP_ID)) AND&#xA;   (PERSON_HISTORY_ENTERPRISE_XREF1.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PERSON_HISTORY_ENTERPRISE_XREF1" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_ORG_SSNP" column="MANAGER_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PERSON_HISTORY_ENTERPRISE_XREF1" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_ORG_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PERSON_HISTORY_ENTERPRISE_XREF1" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="ORG_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="ORG_HISTORY_ENTERPRISE_XREF2"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_ORG_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="ORG_HISTORY_ENTERPRISE_XREF2"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_2"/>
<DIAttribute name="ui_where_text" value="ORG_HISTORY_ENTERPRISE_XREF2.BUSINESS_KEYVALUE=CSA_ORG_SSNP.PARENT_BUSINESS_KEY and &#xD;&#xA;ORG_HISTORY_ENTERPRISE_XREF2.MD_CP_ID=CSA_ORG_SSNP.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_2" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_ORG_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_ORG_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_ORG_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_ORG_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_ORG_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_ORG_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_ORG_SSNP" />
<DITableSpec name="ORG_HISTORY_ENTERPRISE_XREF2" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((ORG_HISTORY_ENTERPRISE_XREF2.BUSINESS_KEYVALUE = CSA_ORG_SSNP.PARENT_BUSINESS_KEY) AND&#xA;   (ORG_HISTORY_ENTERPRISE_XREF2.MD_CP_ID = CSA_ORG_SSNP.MD_CP_ID)) AND&#xA;   (ORG_HISTORY_ENTERPRISE_XREF2.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="ORG_HISTORY_ENTERPRISE_XREF2" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_ORG_SSNP" column="PARENT_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="ORG_HISTORY_ENTERPRISE_XREF2" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_ORG_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="ORG_HISTORY_ENTERPRISE_XREF2" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="Merge_BK"/>
<DIAttribute name="ui_acta_from_schema_1" value="ORG_ENTERPRISE_XREF"/>
<DIAttribute name="ui_display_name" value="QRY_GET_EK"/>
<DIAttribute name="ui_where_text" value="((Merge_BK.MD_BUSINESS_KEY = ORG_ENTERPRISE_XREF.BUSINESS_KEYVALUE) AND&#xD;&#xA;   (Merge_BK.MD_CP_ID = ORG_ENTERPRISE_XREF.MD_CP_ID))"/>
</DIUIOptions>
<DISchema name="QRY_GET_EK" >
<DIElement name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="ORG_ENTERPRISE_XREF.ENTERPRISE_KEY&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="ORG_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="ORG_ENTERPRISE_XREF" />
<DITableSpec name="Merge_BK" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="((Merge_BK.MD_BUSINESS_KEY = ORG_ENTERPRISE_XREF.BUSINESS_KEYVALUE) AND&#xA;   (Merge_BK.MD_CP_ID = ORG_ENTERPRISE_XREF.MD_CP_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_GET_EK"/>
<DIAttribute name="ui_acta_from_schema_1" value="ORG_ENTERPRISE_XREF"/>
<DIAttribute name="ui_display_name" value="QRY_MATCH"/>
<DIAttribute name="ui_where_text" value="(QRY_GET_EK.ENTERPRISE_KEY = ORG_ENTERPRISE_XREF.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_MATCH" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_GET_EK.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="ORG_ENTERPRISE_XREF.BUSINESS_KEYVALUE&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="ORG_ENTERPRISE_XREF.MD_CP_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_GET_EK.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="ORG_ENTERPRISE_XREF.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="ORG_ENTERPRISE_XREF.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_GET_EK" />
<DITableSpec name="ORG_ENTERPRISE_XREF" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_GET_EK.ENTERPRISE_KEY = ORG_ENTERPRISE_XREF.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_MATCH"/>
<DIAttribute name="ui_display_name" value="QRY_LOOKUP"/>
</DIUIOptions>
<DISchema name="QRY_LOOKUP" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SSI_EXISTS" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_ORG_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_MATCH.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_ORG_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;" >
<FUNCTION_CALL name="lookup_ext"  type="DI" tableDatastore="SRCSTAGING_DS" tableOwner="SRCSTAGING_ALIAS" tableName="CSA_ORG_SSI" >
<CONSTANT value="PRE_LOAD_CACHE" datatype="VARCHAR" size="14" />
<CONSTANT value="MAX" datatype="VARCHAR" size="3" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
<DIAttributes>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</FUNCTION_CALL>
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_MATCH" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_LOOKUP"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER"/>
<DIAttribute name="ui_where_text" value="(QRY_LOOKUP.SSI_EXISTS = 'None')"/>
</DIUIOptions>
<DISchema name="QRY_FILTER" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BATCH_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_PROCESS_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_LOOKUP" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_LOOKUP.SSI_EXISTS = 'None')" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="SSI_EXISTS" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_ORG_SSNP_CTRL" >
<DIInputView name="QRY_FILTER"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>overflow_file</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>truncate</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Merge_BK"/>
</DIUIOptions>
<DIInputView name="QRY_JOIN_1"  />
<DIInputView name="QRY_JOIN_2"  />
<DISchema name="Merge_BK" >
</DISchema>
</DITransformCall>
</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIDataflow name="CSA_ORG_LA_BACKFILL_CTRL_DF" typeId="1" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DITransforms>
<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="ORG_ENTERPRISE_XREF" >
<DIOutputView name="ORG_ENTERPRISE_XREF_1"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_ORG_SSNP" >
<DIOutputView name="CSA_ORG_SSNP"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="PERSON_ENTERPRISE_XREF" >
<DIOutputView name="PERSON_ENTERPRISE_XREF1"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_ORG_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="PERSON_ENTERPRISE_XREF1"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_1"/>
<DIAttribute name="ui_where_text" value="PERSON_ENTERPRISE_XREF1.BUSINESS_KEYVALUE=CSA_ORG_SSNP.MANAGER_BUSINESS_KEY and &#xD;&#xA;PERSON_ENTERPRISE_XREF1.MD_CP_ID=CSA_ORG_SSNP.MD_CP_ID and &#xD;&#xA;PERSON_ENTERPRISE_XREF1.MD_BATCH_ID=$G_BATCH_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_1" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_ORG_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_ORG_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_ORG_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_ORG_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_ORG_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_ORG_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_ORG_SSNP" />
<DITableSpec name="PERSON_ENTERPRISE_XREF1" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((PERSON_ENTERPRISE_XREF1.BUSINESS_KEYVALUE = CSA_ORG_SSNP.MANAGER_BUSINESS_KEY) AND&#xA;   (PERSON_ENTERPRISE_XREF1.MD_CP_ID = CSA_ORG_SSNP.MD_CP_ID)) AND&#xA;   (PERSON_ENTERPRISE_XREF1.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF1" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_ORG_SSNP" column="MANAGER_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF1" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_ORG_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF1" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="ORG_ENTERPRISE_XREF" >
<DIOutputView name="ORG_ENTERPRISE_XREF2"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_ORG_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="ORG_ENTERPRISE_XREF2"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_2"/>
<DIAttribute name="ui_where_text" value="ORG_ENTERPRISE_XREF2.BUSINESS_KEYVALUE=CSA_ORG_SSNP.PARENT_BUSINESS_KEY and &#xD;&#xA;ORG_ENTERPRISE_XREF2.MD_CP_ID=CSA_ORG_SSNP.MD_CP_ID and &#xD;&#xA;ORG_ENTERPRISE_XREF2.MD_BATCH_ID=$G_BATCH_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_2" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_ORG_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_ORG_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_ORG_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_ORG_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_ORG_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_ORG_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_ORG_SSNP" />
<DITableSpec name="ORG_ENTERPRISE_XREF2" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((ORG_ENTERPRISE_XREF2.BUSINESS_KEYVALUE = CSA_ORG_SSNP.PARENT_BUSINESS_KEY) AND&#xA;   (ORG_ENTERPRISE_XREF2.MD_CP_ID = CSA_ORG_SSNP.MD_CP_ID)) AND&#xA;   (ORG_ENTERPRISE_XREF2.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF2" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_ORG_SSNP" column="PARENT_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF2" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_ORG_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF2" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Merge_BK"/>
</DIUIOptions>
<DIInputView name="QRY_JOIN_1"  />
<DIInputView name="QRY_JOIN_2"  />
<DISchema name="Merge_BK" >
</DISchema>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_LOOKUP"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER"/>
<DIAttribute name="ui_where_text" value="(QRY_LOOKUP.SSI_EXISTS = 'None')"/>
</DIUIOptions>
<DISchema name="QRY_FILTER" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BATCH_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_PROCESS_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_LOOKUP" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_LOOKUP.SSI_EXISTS = 'None')" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="SSI_EXISTS" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_MATCH"/>
<DIAttribute name="ui_display_name" value="QRY_LOOKUP"/>
</DIUIOptions>
<DISchema name="QRY_LOOKUP" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SSI_EXISTS" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_ORG_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_MATCH.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_ORG_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;" >
<FUNCTION_CALL name="lookup_ext"  type="DI" tableDatastore="SRCSTAGING_DS" tableOwner="SRCSTAGING_ALIAS" tableName="CSA_ORG_SSI" >
<CONSTANT value="PRE_LOAD_CACHE" datatype="VARCHAR" size="14" />
<CONSTANT value="MAX" datatype="VARCHAR" size="3" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
<DIAttributes>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</FUNCTION_CALL>
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_MATCH" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="ORG_ENTERPRISE_XREF_1"/>
<DIAttribute name="ui_acta_from_schema_1" value="QRY_GET_EK"/>
<DIAttribute name="ui_display_name" value="QRY_MATCH"/>
<DIAttribute name="ui_where_text" value="(QRY_GET_EK.ENTERPRISE_KEY = ORG_ENTERPRISE_XREF_1.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_MATCH" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_GET_EK.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="ORG_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="ORG_ENTERPRISE_XREF_1.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_GET_EK.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="ORG_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF_1" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="ORG_ENTERPRISE_XREF_1.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF_1" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_GET_EK" />
<DITableSpec name="ORG_ENTERPRISE_XREF_1" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_GET_EK.ENTERPRISE_KEY = ORG_ENTERPRISE_XREF_1.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF_1" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="ORG_ENTERPRISE_XREF_1"/>
<DIAttribute name="ui_acta_from_schema_1" value="Merge_BK"/>
<DIAttribute name="ui_display_name" value="QRY_GET_EK"/>
<DIAttribute name="ui_where_text" value="((Merge_BK.MD_BUSINESS_KEY = ORG_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE) AND&#xA;   (Merge_BK.MD_CP_ID = ORG_ENTERPRISE_XREF_1.MD_CP_ID))"/>
</DIUIOptions>
<DISchema name="QRY_GET_EK" >
<DIElement name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="ORG_ENTERPRISE_XREF_1.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="ORG_ENTERPRISE_XREF_1.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF_1" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="ORG_ENTERPRISE_XREF_1" />
<DITableSpec name="Merge_BK" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="((Merge_BK.MD_BUSINESS_KEY = ORG_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE) AND&#xA;   (Merge_BK.MD_CP_ID = ORG_ENTERPRISE_XREF_1.MD_CP_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF_1" column="BUSINESS_KEYVALUE" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF_1" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_ORG_SSNP_CTRL" >
<DIInputView name="QRY_FILTER"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>overflow_file</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>truncate</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="CSA_PERSON_BACKFILL_CTRL_WF" typeId="2" >
<DIProperties>
<DIAttribute name="Description" value="This workflow determines the keys that are consolidated from each source and retrieves any non-updated records"/>
</DIProperties>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="the Try of the Try / Catch Block"/>
<DIAttribute name="ui_display_name" value="CSA_PERSON_BACKFILL_CTRL_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow. The script will also be used to populate the local workflow variables."/>
<DIAttribute name="ui_display_name" value="CSA_PERSON_BACKFILL_CTRL_START_SC"/>
<DIAttribute name="ui_script_text" value="# CALL FUNCTION TO TRACK START OF WORKFLOW&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="CSA_PERSON_BACKFILL_CTRL_DF" >
</DICallStep>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="CSA_PERSON_FK_BACKFILL_CTRL_DF" >
</DICallStep>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="CSA_PERSON_LA_BACKFILL_CTRL_DF" >
</DICallStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script that calls the custom function that closes the metadata records that are part of tracking the workflow process."/>
<DIAttribute name="ui_display_name" value="CSA_PERSON_BACKFILL_CTRL_END_SC"/>
<DIAttribute name="ui_script_text" value="# CALL FUNCTION TO TRACK END OF WORKFLOW&#xA;ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The workflow catch object is the end of the TRY/CATCH block in BO DS.  This catch block contains the script object that calls a custom fail workflow function used to write the metadata for failed jobs."/>
<DIAttribute name="ui_display_name" value="CSA_PERSON_BACKFILL_CTRL_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that is used to write the metadata for failed workflows."/>
<DIAttribute name="ui_display_name" value="CSA_PERSON_BACKFILL_CTRL_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="# CALL FUNCTION TO TRACK FAIL OF WORKFLOW&#xA;ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="CSA_PERSON_BACKFILL_CTRL_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="QRY_EK - Get a list of all ENTERPRISE_KEYs corresponding to BUSINESS_KEYs in SSI_V.&#xD;&#xA;QRY_MATCH - return all BUSINESS_KEYs and CP_IDs associated with those EKs.&#xD;&#xA;QRY_LOOKUP - lookup against CSA_PERSON_SSI to see if that BK / CP exists already.&#xD;&#xA;QRY_FILTER - If it DOES NOT exist, add it to the CTRL file."/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="Description" value="The dataflow queries for the consolidated key from each source and for only those records in the consolidation that have not been updated"/>
</DIProperties>
<DITransforms>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Query for the consolidated key from each source and for only those records in the consolidation that have not been updated"/>
<DIAttribute name="ui_acta_from_schema_0" value="PERSON_ENTERPRISE_XREF"/>
<DIAttribute name="ui_acta_from_schema_1" value="PERSON_SSI_V"/>
<DIAttribute name="ui_display_name" value="QRY_EK"/>
<DIAttribute name="ui_where_text" value="PERSON_ENTERPRISE_XREF.BUSINESS_KEYVALUE = PERSON_SSI_V.MD_BUSINESS_KEY&#xD;&#xA;and PERSON_ENTERPRISE_XREF.MD_CP_ID = PERSON_SSI_V.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_EK" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PERSON_ENTERPRISE_XREF.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="PERSON_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PERSON_SSI_V" />
<DITableSpec name="PERSON_ENTERPRISE_XREF" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="((PERSON_ENTERPRISE_XREF.BUSINESS_KEYVALUE = PERSON_SSI_V.MD_BUSINESS_KEY) AND&#xA;   (PERSON_ENTERPRISE_XREF.MD_CP_ID = PERSON_SSI_V.MD_CP_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="PERSON_SSI_V" column="MD_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="PERSON_SSI_V" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
<DIGroupBy>
<DIExpression isString="true" expr="PERSON_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIGroupBy>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_PERSON_SSNP_CTRL" >
<DIInputView name="QRY_FILTER"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit>1000</bulk_ldr_rows_per_commit>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>No</loader_auto_correct>
                <loader_bulk_load>1</loader_bulk_load>
                <loader_compare_column>Compare by name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>overflow_file</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>No</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>No</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>truncate</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>No</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="PERSON_ENTERPRISE_XREF" >
<DIOutputView name="PERSON_ENTERPRISE_XREF"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="QRY_LOOKUP"/>
</DIUIOptions>
<DISchema name="QRY_LOOKUP" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="Merge.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="Merge.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SSI_EXISTS" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_PERSON_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', Merge.MD_BUSINESS_KEY, MD_CP_ID, '=', Merge.MD_CP_ID  ]) &#xD;&#xA;SET(&quot;run_as_separate_process&quot; = 'no')"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="Merge.MD_CP_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="Merge.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="Merge.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_PERSON_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', Merge.MD_BUSINESS_KEY, MD_CP_ID, '=', Merge.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;" >
<FUNCTION_CALL name="lookup_ext"  type="DI" tableDatastore="SRCSTAGING_DS" tableOwner="SRCSTAGING_ALIAS" tableName="CSA_PERSON_SSI" >
<CONSTANT value="PRE_LOAD_CACHE" datatype="VARCHAR" size="14" />
<CONSTANT value="MAX" datatype="VARCHAR" size="3" />
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_CP_ID" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
<DIAttributes>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</FUNCTION_CALL>
</DIExpression>
<DIExpression isString="true" expr="Merge.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="Merge" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PERSON_ENTERPRISE_XREF"/>
<DIAttribute name="ui_acta_from_schema_1" value="QRY_EK"/>
<DIAttribute name="ui_display_name" value="QRY_MATCH"/>
<DIAttribute name="ui_where_text" value="(QRY_EK.MD_ENTERPRISE_KEY = PERSON_ENTERPRISE_XREF.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_MATCH" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_EK.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PERSON_ENTERPRISE_XREF.BUSINESS_KEYVALUE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PERSON_ENTERPRISE_XREF.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_EK.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_EK" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PERSON_ENTERPRISE_XREF.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="PERSON_ENTERPRISE_XREF.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PERSON_ENTERPRISE_XREF" />
<DITableSpec name="QRY_EK" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_EK.MD_ENTERPRISE_KEY = PERSON_ENTERPRISE_XREF.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_EK" column="MD_ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_LOOKUP"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER"/>
<DIAttribute name="ui_where_text" value="QRY_LOOKUP.SSI_EXISTS = 'None'"/>
</DIUIOptions>
<DISchema name="QRY_FILTER" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BATCH_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_PROCESS_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_LOOKUP" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_LOOKUP.SSI_EXISTS = 'None')" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="SSI_EXISTS" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="PERSON_SSI_V" >
<DIOutputView name="PERSON_SSI_V"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="PERSON_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="PERSON_HISTORY_ENTERPRISE_XREF"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PERSON_HISTORY_ENTERPRISE_XREF"/>
<DIAttribute name="ui_display_name" value="QRY_DISTINCT"/>
</DIUIOptions>
<DISchema name="QRY_DISTINCT" >
<DIElement name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PERSON_HISTORY_ENTERPRISE_XREF.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="PERSON_HISTORY_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="PERSON_HISTORY_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PERSON_HISTORY_ENTERPRISE_XREF" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PERSON_ENTERPRISE_XREF"/>
<DIAttribute name="ui_acta_from_schema_1" value="QRY_DISTINCT"/>
<DIAttribute name="ui_display_name" value="QRY_HIS"/>
<DIAttribute name="ui_where_text" value="(QRY_DISTINCT.ENTERPRISE_KEY=PERSON_ENTERPRISE_XREF.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_HIS" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PERSON_ENTERPRISE_XREF.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PERSON_ENTERPRISE_XREF.BUSINESS_KEYVALUE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PERSON_ENTERPRISE_XREF.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="PERSON_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PERSON_ENTERPRISE_XREF.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="PERSON_ENTERPRISE_XREF.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_DISTINCT" />
<DITableSpec name="PERSON_ENTERPRISE_XREF" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_DISTINCT.ENTERPRISE_KEY = PERSON_ENTERPRISE_XREF.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_DISTINCT" column="ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIInputView name="QRY_HIS"  />
<DIInputView name="QRY_MATCH"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>
</DITransforms>
<DIAttributes>
<DIAttribute name="Audit" hasNestedXMLTree ="true">
<Audit>
          <AuditObjects/>
          <AuditRules/>
          <Notifications>
            <RaiseException Enabled="true"/>
            <Mail Enabled="false"/>
            <Script Enabled="false"/>
          </Notifications>
        </Audit>
</DIAttribute>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIDataflow name="CSA_PERSON_FK_BACKFILL_CTRL_DF" typeId="1" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DITransforms>
<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_PERSON_SSNP" >
<DIOutputView name="CSA_PERSON_SSNP"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="PERSON_ENTERPRISE_XREF" >
<DIOutputView name="PERSON_ENTERPRISE_XREF"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="ORG_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="ORG_HISTORY_ENTERPRISE_XREF1"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_PERSON_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="ORG_HISTORY_ENTERPRISE_XREF1"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_1"/>
<DIAttribute name="ui_where_text" value="ORG_HISTORY_ENTERPRISE_XREF1.BUSINESS_KEYVALUE=CSA_PERSON_SSNP.DEPT_BUSINESS_KEY and &#xD;&#xA;ORG_HISTORY_ENTERPRISE_XREF1.MD_CP_ID=CSA_PERSON_SSNP.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_1" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_PERSON_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_PERSON_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_PERSON_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_PERSON_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_PERSON_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_PERSON_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_PERSON_SSNP" />
<DITableSpec name="ORG_HISTORY_ENTERPRISE_XREF1" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((ORG_HISTORY_ENTERPRISE_XREF1.BUSINESS_KEYVALUE = CSA_PERSON_SSNP.DEPT_BUSINESS_KEY) AND&#xA;   (ORG_HISTORY_ENTERPRISE_XREF1.MD_CP_ID = CSA_PERSON_SSNP.MD_CP_ID)) AND&#xA;   (ORG_HISTORY_ENTERPRISE_XREF1.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="ORG_HISTORY_ENTERPRISE_XREF1" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_PERSON_SSNP" column="DEPT_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="ORG_HISTORY_ENTERPRISE_XREF1" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_PERSON_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="ORG_HISTORY_ENTERPRISE_XREF1" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="LOCATION_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="LOCATION_HISTORY_ENTERPRISE_XREF2"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_PERSON_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="LOCATION_HISTORY_ENTERPRISE_XREF2"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_2"/>
<DIAttribute name="ui_where_text" value="LOCATION_HISTORY_ENTERPRISE_XREF2.BUSINESS_KEYVALUE=CSA_PERSON_SSNP.LOCATION_BUSINESS_KEY and &#xD;&#xA;LOCATION_HISTORY_ENTERPRISE_XREF2.MD_CP_ID=CSA_PERSON_SSNP.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_2" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_PERSON_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_PERSON_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_PERSON_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_PERSON_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_PERSON_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_PERSON_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_PERSON_SSNP" />
<DITableSpec name="LOCATION_HISTORY_ENTERPRISE_XREF2" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((LOCATION_HISTORY_ENTERPRISE_XREF2.BUSINESS_KEYVALUE = CSA_PERSON_SSNP.LOCATION_BUSINESS_KEY) AND&#xA;   (LOCATION_HISTORY_ENTERPRISE_XREF2.MD_CP_ID = CSA_PERSON_SSNP.MD_CP_ID)) AND&#xA;   (LOCATION_HISTORY_ENTERPRISE_XREF2.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="LOCATION_HISTORY_ENTERPRISE_XREF2" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_PERSON_SSNP" column="LOCATION_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="LOCATION_HISTORY_ENTERPRISE_XREF2" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_PERSON_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="LOCATION_HISTORY_ENTERPRISE_XREF2" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="PERSON_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="PERSON_HISTORY_ENTERPRISE_XREF3"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_PERSON_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="PERSON_HISTORY_ENTERPRISE_XREF3"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_3"/>
<DIAttribute name="ui_where_text" value="PERSON_HISTORY_ENTERPRISE_XREF3.BUSINESS_KEYVALUE=CSA_PERSON_SSNP.PARENT_BUSINESS_KEY and &#xD;&#xA;PERSON_HISTORY_ENTERPRISE_XREF3.MD_CP_ID=CSA_PERSON_SSNP.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_3" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_PERSON_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_PERSON_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_PERSON_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_PERSON_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_PERSON_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_PERSON_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_PERSON_SSNP" />
<DITableSpec name="PERSON_HISTORY_ENTERPRISE_XREF3" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((PERSON_HISTORY_ENTERPRISE_XREF3.BUSINESS_KEYVALUE = CSA_PERSON_SSNP.PARENT_BUSINESS_KEY) AND&#xA;   (PERSON_HISTORY_ENTERPRISE_XREF3.MD_CP_ID = CSA_PERSON_SSNP.MD_CP_ID)) AND&#xA;   (PERSON_HISTORY_ENTERPRISE_XREF3.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PERSON_HISTORY_ENTERPRISE_XREF3" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_PERSON_SSNP" column="PARENT_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PERSON_HISTORY_ENTERPRISE_XREF3" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_PERSON_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PERSON_HISTORY_ENTERPRISE_XREF3" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="Merge_BK"/>
<DIAttribute name="ui_acta_from_schema_1" value="PERSON_ENTERPRISE_XREF"/>
<DIAttribute name="ui_display_name" value="QRY_GET_EK"/>
<DIAttribute name="ui_where_text" value="((Merge_BK.MD_BUSINESS_KEY = PERSON_ENTERPRISE_XREF.BUSINESS_KEYVALUE) AND&#xD;&#xA;   (Merge_BK.MD_CP_ID = PERSON_ENTERPRISE_XREF.MD_CP_ID))"/>
</DIUIOptions>
<DISchema name="QRY_GET_EK" >
<DIElement name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PERSON_ENTERPRISE_XREF.ENTERPRISE_KEY&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="PERSON_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PERSON_ENTERPRISE_XREF" />
<DITableSpec name="Merge_BK" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="((Merge_BK.MD_BUSINESS_KEY = PERSON_ENTERPRISE_XREF.BUSINESS_KEYVALUE) AND&#xA;   (Merge_BK.MD_CP_ID = PERSON_ENTERPRISE_XREF.MD_CP_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_GET_EK"/>
<DIAttribute name="ui_acta_from_schema_1" value="PERSON_ENTERPRISE_XREF"/>
<DIAttribute name="ui_display_name" value="QRY_MATCH"/>
<DIAttribute name="ui_where_text" value="(QRY_GET_EK.ENTERPRISE_KEY = PERSON_ENTERPRISE_XREF.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_MATCH" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_GET_EK.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PERSON_ENTERPRISE_XREF.BUSINESS_KEYVALUE&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PERSON_ENTERPRISE_XREF.MD_CP_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_GET_EK.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PERSON_ENTERPRISE_XREF.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="PERSON_ENTERPRISE_XREF.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_GET_EK" />
<DITableSpec name="PERSON_ENTERPRISE_XREF" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_GET_EK.ENTERPRISE_KEY = PERSON_ENTERPRISE_XREF.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_MATCH"/>
<DIAttribute name="ui_display_name" value="QRY_LOOKUP"/>
</DIUIOptions>
<DISchema name="QRY_LOOKUP" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SSI_EXISTS" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_PERSON_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_MATCH.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_PERSON_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;" >
<FUNCTION_CALL name="lookup_ext"  type="DI" tableDatastore="SRCSTAGING_DS" tableOwner="SRCSTAGING_ALIAS" tableName="CSA_PERSON_SSI" >
<CONSTANT value="PRE_LOAD_CACHE" datatype="VARCHAR" size="14" />
<CONSTANT value="MAX" datatype="VARCHAR" size="3" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
<DIAttributes>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</FUNCTION_CALL>
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_MATCH" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_LOOKUP"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER"/>
<DIAttribute name="ui_where_text" value="(QRY_LOOKUP.SSI_EXISTS = 'None')"/>
</DIUIOptions>
<DISchema name="QRY_FILTER" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BATCH_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_PROCESS_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_LOOKUP" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_LOOKUP.SSI_EXISTS = 'None')" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="SSI_EXISTS" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_PERSON_SSNP_CTRL" >
<DIInputView name="QRY_FILTER"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>overflow_file</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>truncate</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Merge_BK"/>
</DIUIOptions>
<DIInputView name="QRY_JOIN_1"  />
<DIInputView name="QRY_JOIN_2"  />
<DIInputView name="QRY_JOIN_3"  />
<DISchema name="Merge_BK" >
</DISchema>
</DITransformCall>
</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIDataflow name="CSA_PERSON_LA_BACKFILL_CTRL_DF" typeId="1" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DITransforms>
<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="PERSON_ENTERPRISE_XREF" >
<DIOutputView name="PERSON_ENTERPRISE_XREF_1"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_PERSON_SSNP" >
<DIOutputView name="CSA_PERSON_SSNP"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="ORG_ENTERPRISE_XREF" >
<DIOutputView name="ORG_ENTERPRISE_XREF1"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_PERSON_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="ORG_ENTERPRISE_XREF1"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_1"/>
<DIAttribute name="ui_where_text" value="ORG_ENTERPRISE_XREF1.BUSINESS_KEYVALUE=CSA_PERSON_SSNP.DEPT_BUSINESS_KEY and &#xD;&#xA;ORG_ENTERPRISE_XREF1.MD_CP_ID=CSA_PERSON_SSNP.MD_CP_ID and &#xD;&#xA;ORG_ENTERPRISE_XREF1.MD_BATCH_ID=$G_BATCH_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_1" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_PERSON_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_PERSON_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_PERSON_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_PERSON_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_PERSON_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_PERSON_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_PERSON_SSNP" />
<DITableSpec name="ORG_ENTERPRISE_XREF1" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((ORG_ENTERPRISE_XREF1.BUSINESS_KEYVALUE = CSA_PERSON_SSNP.DEPT_BUSINESS_KEY) AND&#xA;   (ORG_ENTERPRISE_XREF1.MD_CP_ID = CSA_PERSON_SSNP.MD_CP_ID)) AND&#xA;   (ORG_ENTERPRISE_XREF1.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF1" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_PERSON_SSNP" column="DEPT_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF1" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_PERSON_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF1" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="LOCATION_ENTERPRISE_XREF" >
<DIOutputView name="LOCATION_ENTERPRISE_XREF2"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_PERSON_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="LOCATION_ENTERPRISE_XREF2"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_2"/>
<DIAttribute name="ui_where_text" value="LOCATION_ENTERPRISE_XREF2.BUSINESS_KEYVALUE=CSA_PERSON_SSNP.LOCATION_BUSINESS_KEY and &#xD;&#xA;LOCATION_ENTERPRISE_XREF2.MD_CP_ID=CSA_PERSON_SSNP.MD_CP_ID and &#xD;&#xA;LOCATION_ENTERPRISE_XREF2.MD_BATCH_ID=$G_BATCH_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_2" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_PERSON_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_PERSON_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_PERSON_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_PERSON_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_PERSON_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_PERSON_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_PERSON_SSNP" />
<DITableSpec name="LOCATION_ENTERPRISE_XREF2" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((LOCATION_ENTERPRISE_XREF2.BUSINESS_KEYVALUE = CSA_PERSON_SSNP.LOCATION_BUSINESS_KEY) AND&#xA;   (LOCATION_ENTERPRISE_XREF2.MD_CP_ID = CSA_PERSON_SSNP.MD_CP_ID)) AND&#xA;   (LOCATION_ENTERPRISE_XREF2.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="LOCATION_ENTERPRISE_XREF2" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_PERSON_SSNP" column="LOCATION_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="LOCATION_ENTERPRISE_XREF2" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_PERSON_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="LOCATION_ENTERPRISE_XREF2" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="PERSON_ENTERPRISE_XREF" >
<DIOutputView name="PERSON_ENTERPRISE_XREF3"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_PERSON_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="PERSON_ENTERPRISE_XREF3"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_3"/>
<DIAttribute name="ui_where_text" value="PERSON_ENTERPRISE_XREF3.BUSINESS_KEYVALUE=CSA_PERSON_SSNP.PARENT_BUSINESS_KEY and &#xD;&#xA;PERSON_ENTERPRISE_XREF3.MD_CP_ID=CSA_PERSON_SSNP.MD_CP_ID and &#xD;&#xA;PERSON_ENTERPRISE_XREF3.MD_BATCH_ID=$G_BATCH_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_3" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_PERSON_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_PERSON_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_PERSON_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_PERSON_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_PERSON_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_PERSON_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_PERSON_SSNP" />
<DITableSpec name="PERSON_ENTERPRISE_XREF3" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((PERSON_ENTERPRISE_XREF3.BUSINESS_KEYVALUE = CSA_PERSON_SSNP.PARENT_BUSINESS_KEY) AND&#xA;   (PERSON_ENTERPRISE_XREF3.MD_CP_ID = CSA_PERSON_SSNP.MD_CP_ID)) AND&#xA;   (PERSON_ENTERPRISE_XREF3.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF3" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_PERSON_SSNP" column="PARENT_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF3" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_PERSON_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF3" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Merge_BK"/>
</DIUIOptions>
<DIInputView name="QRY_JOIN_1"  />
<DIInputView name="QRY_JOIN_2"  />
<DIInputView name="QRY_JOIN_3"  />
<DISchema name="Merge_BK" >
</DISchema>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_LOOKUP"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER"/>
<DIAttribute name="ui_where_text" value="(QRY_LOOKUP.SSI_EXISTS = 'None')"/>
</DIUIOptions>
<DISchema name="QRY_FILTER" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BATCH_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_PROCESS_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_LOOKUP" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_LOOKUP.SSI_EXISTS = 'None')" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="SSI_EXISTS" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_MATCH"/>
<DIAttribute name="ui_display_name" value="QRY_LOOKUP"/>
</DIUIOptions>
<DISchema name="QRY_LOOKUP" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SSI_EXISTS" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_PERSON_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_MATCH.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_PERSON_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;" >
<FUNCTION_CALL name="lookup_ext"  type="DI" tableDatastore="SRCSTAGING_DS" tableOwner="SRCSTAGING_ALIAS" tableName="CSA_PERSON_SSI" >
<CONSTANT value="PRE_LOAD_CACHE" datatype="VARCHAR" size="14" />
<CONSTANT value="MAX" datatype="VARCHAR" size="3" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
<DIAttributes>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</FUNCTION_CALL>
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_MATCH" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PERSON_ENTERPRISE_XREF_1"/>
<DIAttribute name="ui_acta_from_schema_1" value="QRY_GET_EK"/>
<DIAttribute name="ui_display_name" value="QRY_MATCH"/>
<DIAttribute name="ui_where_text" value="(QRY_GET_EK.ENTERPRISE_KEY = PERSON_ENTERPRISE_XREF_1.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_MATCH" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_GET_EK.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PERSON_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PERSON_ENTERPRISE_XREF_1.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_GET_EK.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PERSON_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF_1" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="PERSON_ENTERPRISE_XREF_1.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF_1" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_GET_EK" />
<DITableSpec name="PERSON_ENTERPRISE_XREF_1" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_GET_EK.ENTERPRISE_KEY = PERSON_ENTERPRISE_XREF_1.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF_1" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PERSON_ENTERPRISE_XREF_1"/>
<DIAttribute name="ui_acta_from_schema_1" value="Merge_BK"/>
<DIAttribute name="ui_display_name" value="QRY_GET_EK"/>
<DIAttribute name="ui_where_text" value="((Merge_BK.MD_BUSINESS_KEY = PERSON_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE) AND&#xA;   (Merge_BK.MD_CP_ID = PERSON_ENTERPRISE_XREF_1.MD_CP_ID))"/>
</DIUIOptions>
<DISchema name="QRY_GET_EK" >
<DIElement name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PERSON_ENTERPRISE_XREF_1.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="PERSON_ENTERPRISE_XREF_1.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF_1" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PERSON_ENTERPRISE_XREF_1" />
<DITableSpec name="Merge_BK" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="((Merge_BK.MD_BUSINESS_KEY = PERSON_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE) AND&#xA;   (Merge_BK.MD_CP_ID = PERSON_ENTERPRISE_XREF_1.MD_CP_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF_1" column="BUSINESS_KEYVALUE" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF_1" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_PERSON_SSNP_CTRL" >
<DIInputView name="QRY_FILTER"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>overflow_file</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>truncate</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="CSA_SERVICE_BLUEPRINT_BACKFILL_CTRL_WF" typeId="2" >
<DIProperties>
<DIAttribute name="Description" value="This workflow determines the keys that are consolidated from each source and retrieves any non-updated records"/>
</DIProperties>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="the Try of the Try / Catch Block"/>
<DIAttribute name="ui_display_name" value="CSA_SERVICE_BLUEPRINT_BACKFILL_CTRL_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow. The script will also be used to populate the local workflow variables."/>
<DIAttribute name="ui_display_name" value="CSA_SERVICE_BLUEPRINT_BACKFILL_CTRL_START_SC"/>
<DIAttribute name="ui_script_text" value="# CALL FUNCTION TO TRACK START OF WORKFLOW&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="CSA_SERVICE_BLUEPRINT_BACKFILL_CTRL_DF" >
</DICallStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script that calls the custom function that closes the metadata records that are part of tracking the workflow process."/>
<DIAttribute name="ui_display_name" value="CSA_SERVICE_BLUEPRINT_BACKFILL_CTRL_END_SC"/>
<DIAttribute name="ui_script_text" value="# CALL FUNCTION TO TRACK END OF WORKFLOW&#xA;ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The workflow catch object is the end of the TRY/CATCH block in BO DS.  This catch block contains the script object that calls a custom fail workflow function used to write the metadata for failed jobs."/>
<DIAttribute name="ui_display_name" value="CSA_SERVICE_BLUEPRINT_BACKFILL_CTRL_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that is used to write the metadata for failed workflows."/>
<DIAttribute name="ui_display_name" value="CSA_SERVICE_BLUEPRINT_BACKFILL_CTRL_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="# CALL FUNCTION TO TRACK FAIL OF WORKFLOW&#xA;ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="CSA_SERVICE_BLUEPRINT_BACKFILL_CTRL_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="QRY_EK - Get a list of all ENTERPRISE_KEYs corresponding to BUSINESS_KEYs in SSI_V.&#xD;&#xA;QRY_MATCH - return all BUSINESS_KEYs and CP_IDs associated with those EKs.&#xD;&#xA;QRY_LOOKUP - lookup against CSA_SERVICE_BLUEPRINT_SSI to see if that BK / CP exists already.&#xD;&#xA;QRY_FILTER - If it DOES NOT exist, add it to the CTRL file."/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="Description" value="The dataflow queries for the consolidated key from each source and for only those records in the consolidation that have not been updated"/>
</DIProperties>
<DITransforms>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Query for the consolidated key from each source and for only those records in the consolidation that have not been updated"/>
<DIAttribute name="ui_acta_from_schema_0" value="SERVICE_BLUEPRINT_ENTERPRISE_XREF"/>
<DIAttribute name="ui_acta_from_schema_1" value="SERVICE_BLUEPRINT_SSI_V"/>
<DIAttribute name="ui_display_name" value="QRY_EK"/>
<DIAttribute name="ui_where_text" value="SERVICE_BLUEPRINT_ENTERPRISE_XREF.BUSINESS_KEYVALUE = SERVICE_BLUEPRINT_SSI_V.MD_BUSINESS_KEY&#xD;&#xA;and SERVICE_BLUEPRINT_ENTERPRISE_XREF.MD_CP_ID = SERVICE_BLUEPRINT_SSI_V.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_EK" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_BLUEPRINT_ENTERPRISE_XREF.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="SERVICE_BLUEPRINT_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="SERVICE_BLUEPRINT_SSI_V" />
<DITableSpec name="SERVICE_BLUEPRINT_ENTERPRISE_XREF" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="((SERVICE_BLUEPRINT_ENTERPRISE_XREF.BUSINESS_KEYVALUE = SERVICE_BLUEPRINT_SSI_V.MD_BUSINESS_KEY) AND&#xA;   (SERVICE_BLUEPRINT_ENTERPRISE_XREF.MD_CP_ID = SERVICE_BLUEPRINT_SSI_V.MD_CP_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_SSI_V" column="MD_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_ENTERPRISE_XREF" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_SSI_V" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
<DIGroupBy>
<DIExpression isString="true" expr="SERVICE_BLUEPRINT_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIGroupBy>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_SERVICE_BLUEPRINT_SSNP_CTRL" >
<DIInputView name="QRY_FILTER"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit>1000</bulk_ldr_rows_per_commit>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>No</loader_auto_correct>
                <loader_bulk_load>1</loader_bulk_load>
                <loader_compare_column>Compare by name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>overflow_file</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>No</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>No</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>truncate</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>No</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_BLUEPRINT_ENTERPRISE_XREF" >
<DIOutputView name="SERVICE_BLUEPRINT_ENTERPRISE_XREF"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="QRY_LOOKUP"/>
</DIUIOptions>
<DISchema name="QRY_LOOKUP" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="Merge.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="Merge.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SSI_EXISTS" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_SERVICE_BLUEPRINT_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', Merge.MD_BUSINESS_KEY, MD_CP_ID, '=', Merge.MD_CP_ID  ]) &#xD;&#xA;SET(&quot;run_as_separate_process&quot; = 'no')"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="Merge.MD_CP_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="Merge.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="Merge.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_SERVICE_BLUEPRINT_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', Merge.MD_BUSINESS_KEY, MD_CP_ID, '=', Merge.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;" >
<FUNCTION_CALL name="lookup_ext"  type="DI" tableDatastore="SRCSTAGING_DS" tableOwner="SRCSTAGING_ALIAS" tableName="CSA_SERVICE_BLUEPRINT_SSI" >
<CONSTANT value="PRE_LOAD_CACHE" datatype="VARCHAR" size="14" />
<CONSTANT value="MAX" datatype="VARCHAR" size="3" />
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_CP_ID" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
<DIAttributes>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</FUNCTION_CALL>
</DIExpression>
<DIExpression isString="true" expr="Merge.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="Merge" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="SERVICE_BLUEPRINT_ENTERPRISE_XREF"/>
<DIAttribute name="ui_acta_from_schema_1" value="QRY_EK"/>
<DIAttribute name="ui_display_name" value="QRY_MATCH"/>
<DIAttribute name="ui_where_text" value="(QRY_EK.MD_ENTERPRISE_KEY = SERVICE_BLUEPRINT_ENTERPRISE_XREF.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_MATCH" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_EK.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_BLUEPRINT_ENTERPRISE_XREF.BUSINESS_KEYVALUE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_BLUEPRINT_ENTERPRISE_XREF.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_EK.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_EK" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="SERVICE_BLUEPRINT_ENTERPRISE_XREF.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="SERVICE_BLUEPRINT_ENTERPRISE_XREF.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_ENTERPRISE_XREF" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="SERVICE_BLUEPRINT_ENTERPRISE_XREF" />
<DITableSpec name="QRY_EK" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_EK.MD_ENTERPRISE_KEY = SERVICE_BLUEPRINT_ENTERPRISE_XREF.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_EK" column="MD_ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_LOOKUP"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER"/>
<DIAttribute name="ui_where_text" value="QRY_LOOKUP.SSI_EXISTS = 'None'"/>
</DIUIOptions>
<DISchema name="QRY_FILTER" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BATCH_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_PROCESS_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_LOOKUP" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_LOOKUP.SSI_EXISTS = 'None')" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="SSI_EXISTS" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_BLUEPRINT_SSI_V" >
<DIOutputView name="SERVICE_BLUEPRINT_SSI_V"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF"/>
<DIAttribute name="ui_display_name" value="QRY_DISTINCT"/>
</DIUIOptions>
<DISchema name="QRY_DISTINCT" >
<DIElement name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="SERVICE_BLUEPRINT_ENTERPRISE_XREF"/>
<DIAttribute name="ui_acta_from_schema_1" value="QRY_DISTINCT"/>
<DIAttribute name="ui_display_name" value="QRY_HIS"/>
<DIAttribute name="ui_where_text" value="(QRY_DISTINCT.ENTERPRISE_KEY=SERVICE_BLUEPRINT_ENTERPRISE_XREF.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_HIS" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_BLUEPRINT_ENTERPRISE_XREF.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_BLUEPRINT_ENTERPRISE_XREF.BUSINESS_KEYVALUE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_BLUEPRINT_ENTERPRISE_XREF.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="SERVICE_BLUEPRINT_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="SERVICE_BLUEPRINT_ENTERPRISE_XREF.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="SERVICE_BLUEPRINT_ENTERPRISE_XREF.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_ENTERPRISE_XREF" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_DISTINCT" />
<DITableSpec name="SERVICE_BLUEPRINT_ENTERPRISE_XREF" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_DISTINCT.ENTERPRISE_KEY = SERVICE_BLUEPRINT_ENTERPRISE_XREF.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_DISTINCT" column="ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIInputView name="QRY_HIS"  />
<DIInputView name="QRY_MATCH"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>
</DITransforms>
<DIAttributes>
<DIAttribute name="Audit" hasNestedXMLTree ="true">
<Audit>
          <AuditObjects/>
          <AuditRules/>
          <Notifications>
            <RaiseException Enabled="true"/>
            <Mail Enabled="false"/>
            <Script Enabled="false"/>
          </Notifications>
        </Audit>
</DIAttribute>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="CSA_SERVICE_INSTANCE_BACKFILL_CTRL_WF" typeId="2" >
<DIProperties>
<DIAttribute name="Description" value="This workflow determines the keys that are consolidated from each source and retrieves any non-updated records"/>
</DIProperties>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="the Try of the Try / Catch Block"/>
<DIAttribute name="ui_display_name" value="CSA_SERVICE_INSTANCE_BACKFILL_CTRL_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow. The script will also be used to populate the local workflow variables."/>
<DIAttribute name="ui_display_name" value="CSA_SERVICE_INSTANCE_BACKFILL_CTRL_START_SC"/>
<DIAttribute name="ui_script_text" value="# CALL FUNCTION TO TRACK START OF WORKFLOW&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="CSA_SERVICE_INSTANCE_BACKFILL_CTRL_DF" >
</DICallStep>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="CSA_SERVICE_INSTANCE_FK_BACKFILL_CTRL_DF" >
</DICallStep>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="CSA_SERVICE_INSTANCE_LA_BACKFILL_CTRL_DF" >
</DICallStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script that calls the custom function that closes the metadata records that are part of tracking the workflow process."/>
<DIAttribute name="ui_display_name" value="CSA_SERVICE_INSTANCE_BACKFILL_CTRL_END_SC"/>
<DIAttribute name="ui_script_text" value="# CALL FUNCTION TO TRACK END OF WORKFLOW&#xA;ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The workflow catch object is the end of the TRY/CATCH block in BO DS.  This catch block contains the script object that calls a custom fail workflow function used to write the metadata for failed jobs."/>
<DIAttribute name="ui_display_name" value="CSA_SERVICE_INSTANCE_BACKFILL_CTRL_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that is used to write the metadata for failed workflows."/>
<DIAttribute name="ui_display_name" value="CSA_SERVICE_INSTANCE_BACKFILL_CTRL_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="# CALL FUNCTION TO TRACK FAIL OF WORKFLOW&#xA;ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="CSA_SERVICE_INSTANCE_BACKFILL_CTRL_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="QRY_EK - Get a list of all ENTERPRISE_KEYs corresponding to BUSINESS_KEYs in SSI_V.&#xD;&#xA;QRY_MATCH - return all BUSINESS_KEYs and CP_IDs associated with those EKs.&#xD;&#xA;QRY_LOOKUP - lookup against CSA_SERVICE_INSTANCE_SSI to see if that BK / CP exists already.&#xD;&#xA;QRY_FILTER - If it DOES NOT exist, add it to the CTRL file."/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="Description" value="The dataflow queries for the consolidated key from each source and for only those records in the consolidation that have not been updated"/>
</DIProperties>
<DITransforms>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Query for the consolidated key from each source and for only those records in the consolidation that have not been updated"/>
<DIAttribute name="ui_acta_from_schema_0" value="SERVICE_INSTANCE_ENTERPRISE_XREF"/>
<DIAttribute name="ui_acta_from_schema_1" value="SERVICE_INSTANCE_SSI_V"/>
<DIAttribute name="ui_display_name" value="QRY_EK"/>
<DIAttribute name="ui_where_text" value="SERVICE_INSTANCE_ENTERPRISE_XREF.BUSINESS_KEYVALUE = SERVICE_INSTANCE_SSI_V.MD_BUSINESS_KEY&#xD;&#xA;and SERVICE_INSTANCE_ENTERPRISE_XREF.MD_CP_ID = SERVICE_INSTANCE_SSI_V.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_EK" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_INSTANCE_ENTERPRISE_XREF.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="SERVICE_INSTANCE_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="SERVICE_INSTANCE_SSI_V" />
<DITableSpec name="SERVICE_INSTANCE_ENTERPRISE_XREF" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="((SERVICE_INSTANCE_ENTERPRISE_XREF.BUSINESS_KEYVALUE = SERVICE_INSTANCE_SSI_V.MD_BUSINESS_KEY) AND&#xA;   (SERVICE_INSTANCE_ENTERPRISE_XREF.MD_CP_ID = SERVICE_INSTANCE_SSI_V.MD_CP_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_SSI_V" column="MD_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_SSI_V" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
<DIGroupBy>
<DIExpression isString="true" expr="SERVICE_INSTANCE_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIGroupBy>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_SERVICE_INSTANCE_SSNP_CTRL" >
<DIInputView name="QRY_FILTER"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit>1000</bulk_ldr_rows_per_commit>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>No</loader_auto_correct>
                <loader_bulk_load>1</loader_bulk_load>
                <loader_compare_column>Compare by name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>overflow_file</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>No</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>No</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>truncate</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>No</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_INSTANCE_ENTERPRISE_XREF" >
<DIOutputView name="SERVICE_INSTANCE_ENTERPRISE_XREF"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="QRY_LOOKUP"/>
</DIUIOptions>
<DISchema name="QRY_LOOKUP" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="Merge.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="Merge.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SSI_EXISTS" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_SERVICE_INSTANCE_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', Merge.MD_BUSINESS_KEY, MD_CP_ID, '=', Merge.MD_CP_ID  ]) &#xD;&#xA;SET(&quot;run_as_separate_process&quot; = 'no')"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="Merge.MD_CP_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="Merge.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="Merge.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_SERVICE_INSTANCE_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', Merge.MD_BUSINESS_KEY, MD_CP_ID, '=', Merge.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;" >
<FUNCTION_CALL name="lookup_ext"  type="DI" tableDatastore="SRCSTAGING_DS" tableOwner="SRCSTAGING_ALIAS" tableName="CSA_SERVICE_INSTANCE_SSI" >
<CONSTANT value="PRE_LOAD_CACHE" datatype="VARCHAR" size="14" />
<CONSTANT value="MAX" datatype="VARCHAR" size="3" />
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_CP_ID" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
<DIAttributes>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</FUNCTION_CALL>
</DIExpression>
<DIExpression isString="true" expr="Merge.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="Merge" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="SERVICE_INSTANCE_ENTERPRISE_XREF"/>
<DIAttribute name="ui_acta_from_schema_1" value="QRY_EK"/>
<DIAttribute name="ui_display_name" value="QRY_MATCH"/>
<DIAttribute name="ui_where_text" value="(QRY_EK.MD_ENTERPRISE_KEY = SERVICE_INSTANCE_ENTERPRISE_XREF.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_MATCH" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_EK.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_INSTANCE_ENTERPRISE_XREF.BUSINESS_KEYVALUE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_INSTANCE_ENTERPRISE_XREF.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_EK.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_EK" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="SERVICE_INSTANCE_ENTERPRISE_XREF.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="SERVICE_INSTANCE_ENTERPRISE_XREF.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="SERVICE_INSTANCE_ENTERPRISE_XREF" />
<DITableSpec name="QRY_EK" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_EK.MD_ENTERPRISE_KEY = SERVICE_INSTANCE_ENTERPRISE_XREF.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_EK" column="MD_ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_LOOKUP"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER"/>
<DIAttribute name="ui_where_text" value="QRY_LOOKUP.SSI_EXISTS = 'None'"/>
</DIUIOptions>
<DISchema name="QRY_FILTER" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BATCH_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_PROCESS_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_LOOKUP" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_LOOKUP.SSI_EXISTS = 'None')" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="SSI_EXISTS" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_INSTANCE_SSI_V" >
<DIOutputView name="SERVICE_INSTANCE_SSI_V"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF"/>
<DIAttribute name="ui_display_name" value="QRY_DISTINCT"/>
</DIUIOptions>
<DISchema name="QRY_DISTINCT" >
<DIElement name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="SERVICE_INSTANCE_HISTORY_ENTERPRISE_XREF" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="SERVICE_INSTANCE_ENTERPRISE_XREF"/>
<DIAttribute name="ui_acta_from_schema_1" value="QRY_DISTINCT"/>
<DIAttribute name="ui_display_name" value="QRY_HIS"/>
<DIAttribute name="ui_where_text" value="(QRY_DISTINCT.ENTERPRISE_KEY=SERVICE_INSTANCE_ENTERPRISE_XREF.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_HIS" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_INSTANCE_ENTERPRISE_XREF.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_INSTANCE_ENTERPRISE_XREF.BUSINESS_KEYVALUE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_INSTANCE_ENTERPRISE_XREF.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="SERVICE_INSTANCE_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="SERVICE_INSTANCE_ENTERPRISE_XREF.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="SERVICE_INSTANCE_ENTERPRISE_XREF.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_DISTINCT" />
<DITableSpec name="SERVICE_INSTANCE_ENTERPRISE_XREF" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_DISTINCT.ENTERPRISE_KEY = SERVICE_INSTANCE_ENTERPRISE_XREF.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_DISTINCT" column="ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIInputView name="QRY_HIS"  />
<DIInputView name="QRY_MATCH"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>
</DITransforms>
<DIAttributes>
<DIAttribute name="Audit" hasNestedXMLTree ="true">
<Audit>
          <AuditObjects/>
          <AuditRules/>
          <Notifications>
            <RaiseException Enabled="true"/>
            <Mail Enabled="false"/>
            <Script Enabled="false"/>
          </Notifications>
        </Audit>
</DIAttribute>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIDataflow name="CSA_SERVICE_INSTANCE_FK_BACKFILL_CTRL_DF" typeId="1" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DITransforms>
<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_SERVICE_INSTANCE_SSNP" >
<DIOutputView name="CSA_SERVICE_INSTANCE_SSNP"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_INSTANCE_ENTERPRISE_XREF" >
<DIOutputView name="SERVICE_INSTANCE_ENTERPRISE_XREF"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF1"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_SERVICE_INSTANCE_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF1"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_1"/>
<DIAttribute name="ui_where_text" value="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF1.BUSINESS_KEYVALUE=CSA_SERVICE_INSTANCE_SSNP.SERVICE_BLUEPRINT_BUSINESS_KEY and &#xD;&#xA;SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF1.MD_CP_ID=CSA_SERVICE_INSTANCE_SSNP.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_1" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_SERVICE_INSTANCE_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_SERVICE_INSTANCE_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_SERVICE_INSTANCE_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_SERVICE_INSTANCE_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_SERVICE_INSTANCE_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_SERVICE_INSTANCE_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_SERVICE_INSTANCE_SSNP" />
<DITableSpec name="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF1" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF1.BUSINESS_KEYVALUE = CSA_SERVICE_INSTANCE_SSNP.SERVICE_BLUEPRINT_BUSINESS_KEY) AND&#xA;   (SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF1.MD_CP_ID = CSA_SERVICE_INSTANCE_SSNP.MD_CP_ID)) AND&#xA;   (SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF1.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF1" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_SERVICE_INSTANCE_SSNP" column="SERVICE_BLUEPRINT_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF1" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_SERVICE_INSTANCE_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF1" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SUBSCRIPTION_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="SUBSCRIPTION_HISTORY_ENTERPRISE_XREF2"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_SERVICE_INSTANCE_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="SUBSCRIPTION_HISTORY_ENTERPRISE_XREF2"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_2"/>
<DIAttribute name="ui_where_text" value="SUBSCRIPTION_HISTORY_ENTERPRISE_XREF2.BUSINESS_KEYVALUE=CSA_SERVICE_INSTANCE_SSNP.SERVICE_SUBCRIPTION_BUSINESS_KEY and &#xD;&#xA;SUBSCRIPTION_HISTORY_ENTERPRISE_XREF2.MD_CP_ID=CSA_SERVICE_INSTANCE_SSNP.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_2" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_SERVICE_INSTANCE_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_SERVICE_INSTANCE_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_SERVICE_INSTANCE_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_SERVICE_INSTANCE_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_SERVICE_INSTANCE_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_SERVICE_INSTANCE_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_SERVICE_INSTANCE_SSNP" />
<DITableSpec name="SUBSCRIPTION_HISTORY_ENTERPRISE_XREF2" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((SUBSCRIPTION_HISTORY_ENTERPRISE_XREF2.BUSINESS_KEYVALUE = CSA_SERVICE_INSTANCE_SSNP.SERVICE_SUBCRIPTION_BUSINESS_KEY) AND&#xA;   (SUBSCRIPTION_HISTORY_ENTERPRISE_XREF2.MD_CP_ID = CSA_SERVICE_INSTANCE_SSNP.MD_CP_ID)) AND&#xA;   (SUBSCRIPTION_HISTORY_ENTERPRISE_XREF2.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_HISTORY_ENTERPRISE_XREF2" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_SERVICE_INSTANCE_SSNP" column="SERVICE_SUBCRIPTION_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_HISTORY_ENTERPRISE_XREF2" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_SERVICE_INSTANCE_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_HISTORY_ENTERPRISE_XREF2" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="Merge_BK"/>
<DIAttribute name="ui_acta_from_schema_1" value="SERVICE_INSTANCE_ENTERPRISE_XREF"/>
<DIAttribute name="ui_display_name" value="QRY_GET_EK"/>
<DIAttribute name="ui_where_text" value="((Merge_BK.MD_BUSINESS_KEY = SERVICE_INSTANCE_ENTERPRISE_XREF.BUSINESS_KEYVALUE) AND&#xD;&#xA;   (Merge_BK.MD_CP_ID = SERVICE_INSTANCE_ENTERPRISE_XREF.MD_CP_ID))"/>
</DIUIOptions>
<DISchema name="QRY_GET_EK" >
<DIElement name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_INSTANCE_ENTERPRISE_XREF.ENTERPRISE_KEY&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="SERVICE_INSTANCE_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="SERVICE_INSTANCE_ENTERPRISE_XREF" />
<DITableSpec name="Merge_BK" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="((Merge_BK.MD_BUSINESS_KEY = SERVICE_INSTANCE_ENTERPRISE_XREF.BUSINESS_KEYVALUE) AND&#xA;   (Merge_BK.MD_CP_ID = SERVICE_INSTANCE_ENTERPRISE_XREF.MD_CP_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_GET_EK"/>
<DIAttribute name="ui_acta_from_schema_1" value="SERVICE_INSTANCE_ENTERPRISE_XREF"/>
<DIAttribute name="ui_display_name" value="QRY_MATCH"/>
<DIAttribute name="ui_where_text" value="(QRY_GET_EK.ENTERPRISE_KEY = SERVICE_INSTANCE_ENTERPRISE_XREF.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_MATCH" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_GET_EK.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_INSTANCE_ENTERPRISE_XREF.BUSINESS_KEYVALUE&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_INSTANCE_ENTERPRISE_XREF.MD_CP_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_GET_EK.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="SERVICE_INSTANCE_ENTERPRISE_XREF.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="SERVICE_INSTANCE_ENTERPRISE_XREF.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_GET_EK" />
<DITableSpec name="SERVICE_INSTANCE_ENTERPRISE_XREF" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_GET_EK.ENTERPRISE_KEY = SERVICE_INSTANCE_ENTERPRISE_XREF.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_MATCH"/>
<DIAttribute name="ui_display_name" value="QRY_LOOKUP"/>
</DIUIOptions>
<DISchema name="QRY_LOOKUP" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SSI_EXISTS" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_SERVICE_INSTANCE_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_MATCH.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_SERVICE_INSTANCE_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;" >
<FUNCTION_CALL name="lookup_ext"  type="DI" tableDatastore="SRCSTAGING_DS" tableOwner="SRCSTAGING_ALIAS" tableName="CSA_SERVICE_INSTANCE_SSI" >
<CONSTANT value="PRE_LOAD_CACHE" datatype="VARCHAR" size="14" />
<CONSTANT value="MAX" datatype="VARCHAR" size="3" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
<DIAttributes>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</FUNCTION_CALL>
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_MATCH" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_LOOKUP"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER"/>
<DIAttribute name="ui_where_text" value="(QRY_LOOKUP.SSI_EXISTS = 'None')"/>
</DIUIOptions>
<DISchema name="QRY_FILTER" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BATCH_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_PROCESS_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_LOOKUP" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_LOOKUP.SSI_EXISTS = 'None')" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="SSI_EXISTS" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_SERVICE_INSTANCE_SSNP_CTRL" >
<DIInputView name="QRY_FILTER"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>overflow_file</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>truncate</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Merge_BK"/>
</DIUIOptions>
<DIInputView name="QRY_JOIN_1"  />
<DIInputView name="QRY_JOIN_2"  />
<DISchema name="Merge_BK" >
</DISchema>
</DITransformCall>
</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIDataflow name="CSA_SERVICE_INSTANCE_LA_BACKFILL_CTRL_DF" typeId="1" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DITransforms>
<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_INSTANCE_ENTERPRISE_XREF" >
<DIOutputView name="SERVICE_INSTANCE_ENTERPRISE_XREF_1"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_SERVICE_INSTANCE_SSNP" >
<DIOutputView name="CSA_SERVICE_INSTANCE_SSNP"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_BLUEPRINT_ENTERPRISE_XREF" >
<DIOutputView name="SERVICE_BLUEPRINT_ENTERPRISE_XREF1"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_SERVICE_INSTANCE_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="SERVICE_BLUEPRINT_ENTERPRISE_XREF1"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_1"/>
<DIAttribute name="ui_where_text" value="SERVICE_BLUEPRINT_ENTERPRISE_XREF1.BUSINESS_KEYVALUE=CSA_SERVICE_INSTANCE_SSNP.SERVICE_BLUEPRINT_BUSINESS_KEY and &#xD;&#xA;SERVICE_BLUEPRINT_ENTERPRISE_XREF1.MD_CP_ID=CSA_SERVICE_INSTANCE_SSNP.MD_CP_ID and &#xD;&#xA;SERVICE_BLUEPRINT_ENTERPRISE_XREF1.MD_BATCH_ID=$G_BATCH_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_1" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_SERVICE_INSTANCE_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_SERVICE_INSTANCE_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_SERVICE_INSTANCE_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_SERVICE_INSTANCE_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_SERVICE_INSTANCE_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_SERVICE_INSTANCE_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_SERVICE_INSTANCE_SSNP" />
<DITableSpec name="SERVICE_BLUEPRINT_ENTERPRISE_XREF1" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((SERVICE_BLUEPRINT_ENTERPRISE_XREF1.BUSINESS_KEYVALUE = CSA_SERVICE_INSTANCE_SSNP.SERVICE_BLUEPRINT_BUSINESS_KEY) AND&#xA;   (SERVICE_BLUEPRINT_ENTERPRISE_XREF1.MD_CP_ID = CSA_SERVICE_INSTANCE_SSNP.MD_CP_ID)) AND&#xA;   (SERVICE_BLUEPRINT_ENTERPRISE_XREF1.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_ENTERPRISE_XREF1" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_SERVICE_INSTANCE_SSNP" column="SERVICE_BLUEPRINT_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_ENTERPRISE_XREF1" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_SERVICE_INSTANCE_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_ENTERPRISE_XREF1" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SUBSCRIPTION_ENTERPRISE_XREF" >
<DIOutputView name="SUBSCRIPTION_ENTERPRISE_XREF2"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_SERVICE_INSTANCE_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="SUBSCRIPTION_ENTERPRISE_XREF2"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_2"/>
<DIAttribute name="ui_where_text" value="SUBSCRIPTION_ENTERPRISE_XREF2.BUSINESS_KEYVALUE=CSA_SERVICE_INSTANCE_SSNP.SERVICE_SUBCRIPTION_BUSINESS_KEY and &#xD;&#xA;SUBSCRIPTION_ENTERPRISE_XREF2.MD_CP_ID=CSA_SERVICE_INSTANCE_SSNP.MD_CP_ID and &#xD;&#xA;SUBSCRIPTION_ENTERPRISE_XREF2.MD_BATCH_ID=$G_BATCH_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_2" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_SERVICE_INSTANCE_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_SERVICE_INSTANCE_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_SERVICE_INSTANCE_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_SERVICE_INSTANCE_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_SERVICE_INSTANCE_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_SERVICE_INSTANCE_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_SERVICE_INSTANCE_SSNP" />
<DITableSpec name="SUBSCRIPTION_ENTERPRISE_XREF2" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((SUBSCRIPTION_ENTERPRISE_XREF2.BUSINESS_KEYVALUE = CSA_SERVICE_INSTANCE_SSNP.SERVICE_SUBCRIPTION_BUSINESS_KEY) AND&#xA;   (SUBSCRIPTION_ENTERPRISE_XREF2.MD_CP_ID = CSA_SERVICE_INSTANCE_SSNP.MD_CP_ID)) AND&#xA;   (SUBSCRIPTION_ENTERPRISE_XREF2.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF2" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_SERVICE_INSTANCE_SSNP" column="SERVICE_SUBCRIPTION_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF2" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_SERVICE_INSTANCE_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF2" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Merge_BK"/>
</DIUIOptions>
<DIInputView name="QRY_JOIN_1"  />
<DIInputView name="QRY_JOIN_2"  />
<DISchema name="Merge_BK" >
</DISchema>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_LOOKUP"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER"/>
<DIAttribute name="ui_where_text" value="(QRY_LOOKUP.SSI_EXISTS = 'None')"/>
</DIUIOptions>
<DISchema name="QRY_FILTER" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BATCH_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_PROCESS_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_LOOKUP" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_LOOKUP.SSI_EXISTS = 'None')" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="SSI_EXISTS" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_MATCH"/>
<DIAttribute name="ui_display_name" value="QRY_LOOKUP"/>
</DIUIOptions>
<DISchema name="QRY_LOOKUP" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SSI_EXISTS" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_SERVICE_INSTANCE_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_MATCH.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_SERVICE_INSTANCE_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;" >
<FUNCTION_CALL name="lookup_ext"  type="DI" tableDatastore="SRCSTAGING_DS" tableOwner="SRCSTAGING_ALIAS" tableName="CSA_SERVICE_INSTANCE_SSI" >
<CONSTANT value="PRE_LOAD_CACHE" datatype="VARCHAR" size="14" />
<CONSTANT value="MAX" datatype="VARCHAR" size="3" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
<DIAttributes>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</FUNCTION_CALL>
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_MATCH" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="SERVICE_INSTANCE_ENTERPRISE_XREF_1"/>
<DIAttribute name="ui_acta_from_schema_1" value="QRY_GET_EK"/>
<DIAttribute name="ui_display_name" value="QRY_MATCH"/>
<DIAttribute name="ui_where_text" value="(QRY_GET_EK.ENTERPRISE_KEY = SERVICE_INSTANCE_ENTERPRISE_XREF_1.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_MATCH" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_GET_EK.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_INSTANCE_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_INSTANCE_ENTERPRISE_XREF_1.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_GET_EK.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="SERVICE_INSTANCE_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF_1" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="SERVICE_INSTANCE_ENTERPRISE_XREF_1.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF_1" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_GET_EK" />
<DITableSpec name="SERVICE_INSTANCE_ENTERPRISE_XREF_1" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_GET_EK.ENTERPRISE_KEY = SERVICE_INSTANCE_ENTERPRISE_XREF_1.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF_1" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="SERVICE_INSTANCE_ENTERPRISE_XREF_1"/>
<DIAttribute name="ui_acta_from_schema_1" value="Merge_BK"/>
<DIAttribute name="ui_display_name" value="QRY_GET_EK"/>
<DIAttribute name="ui_where_text" value="((Merge_BK.MD_BUSINESS_KEY = SERVICE_INSTANCE_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE) AND&#xA;   (Merge_BK.MD_CP_ID = SERVICE_INSTANCE_ENTERPRISE_XREF_1.MD_CP_ID))"/>
</DIUIOptions>
<DISchema name="QRY_GET_EK" >
<DIElement name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_INSTANCE_ENTERPRISE_XREF_1.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="SERVICE_INSTANCE_ENTERPRISE_XREF_1.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF_1" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="SERVICE_INSTANCE_ENTERPRISE_XREF_1" />
<DITableSpec name="Merge_BK" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="((Merge_BK.MD_BUSINESS_KEY = SERVICE_INSTANCE_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE) AND&#xA;   (Merge_BK.MD_CP_ID = SERVICE_INSTANCE_ENTERPRISE_XREF_1.MD_CP_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF_1" column="BUSINESS_KEYVALUE" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="SERVICE_INSTANCE_ENTERPRISE_XREF_1" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_SERVICE_INSTANCE_SSNP_CTRL" >
<DIInputView name="QRY_FILTER"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>overflow_file</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>truncate</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="CSA_SERVICE_OFFERING_BACKFILL_CTRL_WF" typeId="2" >
<DIProperties>
<DIAttribute name="Description" value="This workflow determines the keys that are consolidated from each source and retrieves any non-updated records"/>
</DIProperties>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="the Try of the Try / Catch Block"/>
<DIAttribute name="ui_display_name" value="CSA_SERVICE_OFFERING_BACKFILL_CTRL_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow. The script will also be used to populate the local workflow variables."/>
<DIAttribute name="ui_display_name" value="CSA_SERVICE_OFFERING_BACKFILL_CTRL_START_SC"/>
<DIAttribute name="ui_script_text" value="# CALL FUNCTION TO TRACK START OF WORKFLOW&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="CSA_SERVICE_OFFERING_BACKFILL_CTRL_DF" >
</DICallStep>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="CSA_SERVICE_OFFERING_FK_BACKFILL_CTRL_DF" >
</DICallStep>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="CSA_SERVICE_OFFERING_LA_BACKFILL_CTRL_DF" >
</DICallStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script that calls the custom function that closes the metadata records that are part of tracking the workflow process."/>
<DIAttribute name="ui_display_name" value="CSA_SERVICE_OFFERING_BACKFILL_CTRL_END_SC"/>
<DIAttribute name="ui_script_text" value="# CALL FUNCTION TO TRACK END OF WORKFLOW&#xA;ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The workflow catch object is the end of the TRY/CATCH block in BO DS.  This catch block contains the script object that calls a custom fail workflow function used to write the metadata for failed jobs."/>
<DIAttribute name="ui_display_name" value="CSA_SERVICE_OFFERING_BACKFILL_CTRL_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that is used to write the metadata for failed workflows."/>
<DIAttribute name="ui_display_name" value="CSA_SERVICE_OFFERING_BACKFILL_CTRL_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="# CALL FUNCTION TO TRACK FAIL OF WORKFLOW&#xA;ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="CSA_SERVICE_OFFERING_BACKFILL_CTRL_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="QRY_EK - Get a list of all ENTERPRISE_KEYs corresponding to BUSINESS_KEYs in SSI_V.&#xD;&#xA;QRY_MATCH - return all BUSINESS_KEYs and CP_IDs associated with those EKs.&#xD;&#xA;QRY_LOOKUP - lookup against CSA_SERVICE_OFFERING_SSI to see if that BK / CP exists already.&#xD;&#xA;QRY_FILTER - If it DOES NOT exist, add it to the CTRL file."/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="Description" value="The dataflow queries for the consolidated key from each source and for only those records in the consolidation that have not been updated"/>
</DIProperties>
<DITransforms>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Query for the consolidated key from each source and for only those records in the consolidation that have not been updated"/>
<DIAttribute name="ui_acta_from_schema_0" value="SERVICE_OFFERING_ENTERPRISE_XREF"/>
<DIAttribute name="ui_acta_from_schema_1" value="SERVICE_OFFERING_SSI_V"/>
<DIAttribute name="ui_display_name" value="QRY_EK"/>
<DIAttribute name="ui_where_text" value="SERVICE_OFFERING_ENTERPRISE_XREF.BUSINESS_KEYVALUE = SERVICE_OFFERING_SSI_V.MD_BUSINESS_KEY&#xD;&#xA;and SERVICE_OFFERING_ENTERPRISE_XREF.MD_CP_ID = SERVICE_OFFERING_SSI_V.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_EK" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_OFFERING_ENTERPRISE_XREF.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="SERVICE_OFFERING_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="SERVICE_OFFERING_SSI_V" />
<DITableSpec name="SERVICE_OFFERING_ENTERPRISE_XREF" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="((SERVICE_OFFERING_ENTERPRISE_XREF.BUSINESS_KEYVALUE = SERVICE_OFFERING_SSI_V.MD_BUSINESS_KEY) AND&#xA;   (SERVICE_OFFERING_ENTERPRISE_XREF.MD_CP_ID = SERVICE_OFFERING_SSI_V.MD_CP_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_SSI_V" column="MD_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_SSI_V" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
<DIGroupBy>
<DIExpression isString="true" expr="SERVICE_OFFERING_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIGroupBy>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_SERVICE_OFFERING_SSNP_CTRL" >
<DIInputView name="QRY_FILTER"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit>1000</bulk_ldr_rows_per_commit>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>No</loader_auto_correct>
                <loader_bulk_load>1</loader_bulk_load>
                <loader_compare_column>Compare by name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>overflow_file</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>No</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>No</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>truncate</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>No</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_OFFERING_ENTERPRISE_XREF" >
<DIOutputView name="SERVICE_OFFERING_ENTERPRISE_XREF"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="QRY_LOOKUP"/>
</DIUIOptions>
<DISchema name="QRY_LOOKUP" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="Merge.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="Merge.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SSI_EXISTS" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_SERVICE_OFFERING_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', Merge.MD_BUSINESS_KEY, MD_CP_ID, '=', Merge.MD_CP_ID  ]) &#xD;&#xA;SET(&quot;run_as_separate_process&quot; = 'no')"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="Merge.MD_CP_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="Merge.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="Merge.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_SERVICE_OFFERING_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', Merge.MD_BUSINESS_KEY, MD_CP_ID, '=', Merge.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;" >
<FUNCTION_CALL name="lookup_ext"  type="DI" tableDatastore="SRCSTAGING_DS" tableOwner="SRCSTAGING_ALIAS" tableName="CSA_SERVICE_OFFERING_SSI" >
<CONSTANT value="PRE_LOAD_CACHE" datatype="VARCHAR" size="14" />
<CONSTANT value="MAX" datatype="VARCHAR" size="3" />
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_CP_ID" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
<DIAttributes>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</FUNCTION_CALL>
</DIExpression>
<DIExpression isString="true" expr="Merge.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="Merge" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="SERVICE_OFFERING_ENTERPRISE_XREF"/>
<DIAttribute name="ui_acta_from_schema_1" value="QRY_EK"/>
<DIAttribute name="ui_display_name" value="QRY_MATCH"/>
<DIAttribute name="ui_where_text" value="(QRY_EK.MD_ENTERPRISE_KEY = SERVICE_OFFERING_ENTERPRISE_XREF.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_MATCH" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_EK.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_OFFERING_ENTERPRISE_XREF.BUSINESS_KEYVALUE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_OFFERING_ENTERPRISE_XREF.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_EK.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_EK" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="SERVICE_OFFERING_ENTERPRISE_XREF.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="SERVICE_OFFERING_ENTERPRISE_XREF.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="SERVICE_OFFERING_ENTERPRISE_XREF" />
<DITableSpec name="QRY_EK" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_EK.MD_ENTERPRISE_KEY = SERVICE_OFFERING_ENTERPRISE_XREF.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_EK" column="MD_ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_LOOKUP"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER"/>
<DIAttribute name="ui_where_text" value="QRY_LOOKUP.SSI_EXISTS = 'None'"/>
</DIUIOptions>
<DISchema name="QRY_FILTER" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BATCH_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_PROCESS_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_LOOKUP" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_LOOKUP.SSI_EXISTS = 'None')" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="SSI_EXISTS" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_OFFERING_SSI_V" >
<DIOutputView name="SERVICE_OFFERING_SSI_V"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF"/>
<DIAttribute name="ui_display_name" value="QRY_DISTINCT"/>
</DIUIOptions>
<DISchema name="QRY_DISTINCT" >
<DIElement name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="SERVICE_OFFERING_ENTERPRISE_XREF"/>
<DIAttribute name="ui_acta_from_schema_1" value="QRY_DISTINCT"/>
<DIAttribute name="ui_display_name" value="QRY_HIS"/>
<DIAttribute name="ui_where_text" value="(QRY_DISTINCT.ENTERPRISE_KEY=SERVICE_OFFERING_ENTERPRISE_XREF.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_HIS" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_OFFERING_ENTERPRISE_XREF.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_OFFERING_ENTERPRISE_XREF.BUSINESS_KEYVALUE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_OFFERING_ENTERPRISE_XREF.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="SERVICE_OFFERING_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="SERVICE_OFFERING_ENTERPRISE_XREF.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="SERVICE_OFFERING_ENTERPRISE_XREF.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_DISTINCT" />
<DITableSpec name="SERVICE_OFFERING_ENTERPRISE_XREF" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_DISTINCT.ENTERPRISE_KEY = SERVICE_OFFERING_ENTERPRISE_XREF.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_DISTINCT" column="ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIInputView name="QRY_HIS"  />
<DIInputView name="QRY_MATCH"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>
</DITransforms>
<DIAttributes>
<DIAttribute name="Audit" hasNestedXMLTree ="true">
<Audit>
          <AuditObjects/>
          <AuditRules/>
          <Notifications>
            <RaiseException Enabled="true"/>
            <Mail Enabled="false"/>
            <Script Enabled="false"/>
          </Notifications>
        </Audit>
</DIAttribute>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIDataflow name="CSA_SERVICE_OFFERING_FK_BACKFILL_CTRL_DF" typeId="1" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DITransforms>
<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_SERVICE_OFFERING_SSNP" >
<DIOutputView name="CSA_SERVICE_OFFERING_SSNP"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_OFFERING_ENTERPRISE_XREF" >
<DIOutputView name="SERVICE_OFFERING_ENTERPRISE_XREF"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF1"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_SERVICE_OFFERING_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF1"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_1"/>
<DIAttribute name="ui_where_text" value="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF1.BUSINESS_KEYVALUE=CSA_SERVICE_OFFERING_SSNP.SERVICE_BLUEPRINT_BUSINESS_KEY and &#xD;&#xA;SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF1.MD_CP_ID=CSA_SERVICE_OFFERING_SSNP.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_1" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_SERVICE_OFFERING_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_SERVICE_OFFERING_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_SERVICE_OFFERING_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_SERVICE_OFFERING_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_SERVICE_OFFERING_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_SERVICE_OFFERING_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_SERVICE_OFFERING_SSNP" />
<DITableSpec name="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF1" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF1.BUSINESS_KEYVALUE = CSA_SERVICE_OFFERING_SSNP.SERVICE_BLUEPRINT_BUSINESS_KEY) AND&#xA;   (SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF1.MD_CP_ID = CSA_SERVICE_OFFERING_SSNP.MD_CP_ID)) AND&#xA;   (SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF1.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF1" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_SERVICE_OFFERING_SSNP" column="SERVICE_BLUEPRINT_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF1" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_SERVICE_OFFERING_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_HISTORY_ENTERPRISE_XREF1" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="Merge_BK"/>
<DIAttribute name="ui_acta_from_schema_1" value="SERVICE_OFFERING_ENTERPRISE_XREF"/>
<DIAttribute name="ui_display_name" value="QRY_GET_EK"/>
<DIAttribute name="ui_where_text" value="((Merge_BK.MD_BUSINESS_KEY = SERVICE_OFFERING_ENTERPRISE_XREF.BUSINESS_KEYVALUE) AND&#xD;&#xA;   (Merge_BK.MD_CP_ID = SERVICE_OFFERING_ENTERPRISE_XREF.MD_CP_ID))"/>
</DIUIOptions>
<DISchema name="QRY_GET_EK" >
<DIElement name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_OFFERING_ENTERPRISE_XREF.ENTERPRISE_KEY&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="SERVICE_OFFERING_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="SERVICE_OFFERING_ENTERPRISE_XREF" />
<DITableSpec name="Merge_BK" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="((Merge_BK.MD_BUSINESS_KEY = SERVICE_OFFERING_ENTERPRISE_XREF.BUSINESS_KEYVALUE) AND&#xA;   (Merge_BK.MD_CP_ID = SERVICE_OFFERING_ENTERPRISE_XREF.MD_CP_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_GET_EK"/>
<DIAttribute name="ui_acta_from_schema_1" value="SERVICE_OFFERING_ENTERPRISE_XREF"/>
<DIAttribute name="ui_display_name" value="QRY_MATCH"/>
<DIAttribute name="ui_where_text" value="(QRY_GET_EK.ENTERPRISE_KEY = SERVICE_OFFERING_ENTERPRISE_XREF.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_MATCH" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_GET_EK.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_OFFERING_ENTERPRISE_XREF.BUSINESS_KEYVALUE&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_OFFERING_ENTERPRISE_XREF.MD_CP_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_GET_EK.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="SERVICE_OFFERING_ENTERPRISE_XREF.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="SERVICE_OFFERING_ENTERPRISE_XREF.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_GET_EK" />
<DITableSpec name="SERVICE_OFFERING_ENTERPRISE_XREF" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_GET_EK.ENTERPRISE_KEY = SERVICE_OFFERING_ENTERPRISE_XREF.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_MATCH"/>
<DIAttribute name="ui_display_name" value="QRY_LOOKUP"/>
</DIUIOptions>
<DISchema name="QRY_LOOKUP" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SSI_EXISTS" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_SERVICE_OFFERING_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_MATCH.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_SERVICE_OFFERING_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;" >
<FUNCTION_CALL name="lookup_ext"  type="DI" tableDatastore="SRCSTAGING_DS" tableOwner="SRCSTAGING_ALIAS" tableName="CSA_SERVICE_OFFERING_SSI" >
<CONSTANT value="PRE_LOAD_CACHE" datatype="VARCHAR" size="14" />
<CONSTANT value="MAX" datatype="VARCHAR" size="3" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
<DIAttributes>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</FUNCTION_CALL>
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_MATCH" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_LOOKUP"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER"/>
<DIAttribute name="ui_where_text" value="(QRY_LOOKUP.SSI_EXISTS = 'None')"/>
</DIUIOptions>
<DISchema name="QRY_FILTER" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BATCH_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_PROCESS_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_LOOKUP" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_LOOKUP.SSI_EXISTS = 'None')" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="SSI_EXISTS" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_SERVICE_OFFERING_SSNP_CTRL" >
<DIInputView name="QRY_FILTER"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>overflow_file</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>truncate</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Merge_BK"/>
</DIUIOptions>
<DIInputView name="QRY_JOIN_1"  />
<DISchema name="Merge_BK" >
</DISchema>
</DITransformCall>
</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIDataflow name="CSA_SERVICE_OFFERING_LA_BACKFILL_CTRL_DF" typeId="1" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DITransforms>
<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_OFFERING_ENTERPRISE_XREF" >
<DIOutputView name="SERVICE_OFFERING_ENTERPRISE_XREF_1"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_SERVICE_OFFERING_SSNP" >
<DIOutputView name="CSA_SERVICE_OFFERING_SSNP"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_BLUEPRINT_ENTERPRISE_XREF" >
<DIOutputView name="SERVICE_BLUEPRINT_ENTERPRISE_XREF1"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_SERVICE_OFFERING_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="SERVICE_BLUEPRINT_ENTERPRISE_XREF1"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_1"/>
<DIAttribute name="ui_where_text" value="SERVICE_BLUEPRINT_ENTERPRISE_XREF1.BUSINESS_KEYVALUE=CSA_SERVICE_OFFERING_SSNP.SERVICE_BLUEPRINT_BUSINESS_KEY and &#xD;&#xA;SERVICE_BLUEPRINT_ENTERPRISE_XREF1.MD_CP_ID=CSA_SERVICE_OFFERING_SSNP.MD_CP_ID and &#xD;&#xA;SERVICE_BLUEPRINT_ENTERPRISE_XREF1.MD_BATCH_ID=$G_BATCH_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_1" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_SERVICE_OFFERING_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_SERVICE_OFFERING_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_SERVICE_OFFERING_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_SERVICE_OFFERING_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_SERVICE_OFFERING_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_SERVICE_OFFERING_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_SERVICE_OFFERING_SSNP" />
<DITableSpec name="SERVICE_BLUEPRINT_ENTERPRISE_XREF1" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((SERVICE_BLUEPRINT_ENTERPRISE_XREF1.BUSINESS_KEYVALUE = CSA_SERVICE_OFFERING_SSNP.SERVICE_BLUEPRINT_BUSINESS_KEY) AND&#xA;   (SERVICE_BLUEPRINT_ENTERPRISE_XREF1.MD_CP_ID = CSA_SERVICE_OFFERING_SSNP.MD_CP_ID)) AND&#xA;   (SERVICE_BLUEPRINT_ENTERPRISE_XREF1.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_ENTERPRISE_XREF1" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_SERVICE_OFFERING_SSNP" column="SERVICE_BLUEPRINT_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_ENTERPRISE_XREF1" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_SERVICE_OFFERING_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_BLUEPRINT_ENTERPRISE_XREF1" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Merge_BK"/>
</DIUIOptions>
<DIInputView name="QRY_JOIN_1"  />
<DISchema name="Merge_BK" >
</DISchema>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_LOOKUP"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER"/>
<DIAttribute name="ui_where_text" value="(QRY_LOOKUP.SSI_EXISTS = 'None')"/>
</DIUIOptions>
<DISchema name="QRY_FILTER" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BATCH_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_PROCESS_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_LOOKUP" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_LOOKUP.SSI_EXISTS = 'None')" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="SSI_EXISTS" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_MATCH"/>
<DIAttribute name="ui_display_name" value="QRY_LOOKUP"/>
</DIUIOptions>
<DISchema name="QRY_LOOKUP" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SSI_EXISTS" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_SERVICE_OFFERING_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_MATCH.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_SERVICE_OFFERING_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;" >
<FUNCTION_CALL name="lookup_ext"  type="DI" tableDatastore="SRCSTAGING_DS" tableOwner="SRCSTAGING_ALIAS" tableName="CSA_SERVICE_OFFERING_SSI" >
<CONSTANT value="PRE_LOAD_CACHE" datatype="VARCHAR" size="14" />
<CONSTANT value="MAX" datatype="VARCHAR" size="3" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
<DIAttributes>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</FUNCTION_CALL>
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_MATCH" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="SERVICE_OFFERING_ENTERPRISE_XREF_1"/>
<DIAttribute name="ui_acta_from_schema_1" value="QRY_GET_EK"/>
<DIAttribute name="ui_display_name" value="QRY_MATCH"/>
<DIAttribute name="ui_where_text" value="(QRY_GET_EK.ENTERPRISE_KEY = SERVICE_OFFERING_ENTERPRISE_XREF_1.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_MATCH" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_GET_EK.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_OFFERING_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_OFFERING_ENTERPRISE_XREF_1.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_GET_EK.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="SERVICE_OFFERING_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF_1" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="SERVICE_OFFERING_ENTERPRISE_XREF_1.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF_1" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_GET_EK" />
<DITableSpec name="SERVICE_OFFERING_ENTERPRISE_XREF_1" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_GET_EK.ENTERPRISE_KEY = SERVICE_OFFERING_ENTERPRISE_XREF_1.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF_1" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="SERVICE_OFFERING_ENTERPRISE_XREF_1"/>
<DIAttribute name="ui_acta_from_schema_1" value="Merge_BK"/>
<DIAttribute name="ui_display_name" value="QRY_GET_EK"/>
<DIAttribute name="ui_where_text" value="((Merge_BK.MD_BUSINESS_KEY = SERVICE_OFFERING_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE) AND&#xA;   (Merge_BK.MD_CP_ID = SERVICE_OFFERING_ENTERPRISE_XREF_1.MD_CP_ID))"/>
</DIUIOptions>
<DISchema name="QRY_GET_EK" >
<DIElement name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SERVICE_OFFERING_ENTERPRISE_XREF_1.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="SERVICE_OFFERING_ENTERPRISE_XREF_1.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF_1" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="SERVICE_OFFERING_ENTERPRISE_XREF_1" />
<DITableSpec name="Merge_BK" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="((Merge_BK.MD_BUSINESS_KEY = SERVICE_OFFERING_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE) AND&#xA;   (Merge_BK.MD_CP_ID = SERVICE_OFFERING_ENTERPRISE_XREF_1.MD_CP_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF_1" column="BUSINESS_KEYVALUE" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF_1" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_SERVICE_OFFERING_SSNP_CTRL" >
<DIInputView name="QRY_FILTER"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>overflow_file</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>truncate</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="CSA_SUBSCRIPTION_BACKFILL_CTRL_WF" typeId="2" >
<DIProperties>
<DIAttribute name="Description" value="This workflow determines the keys that are consolidated from each source and retrieves any non-updated records"/>
</DIProperties>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="the Try of the Try / Catch Block"/>
<DIAttribute name="ui_display_name" value="CSA_SUBSCRIPTION_BACKFILL_CTRL_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow. The script will also be used to populate the local workflow variables."/>
<DIAttribute name="ui_display_name" value="CSA_SUBSCRIPTION_BACKFILL_CTRL_START_SC"/>
<DIAttribute name="ui_script_text" value="# CALL FUNCTION TO TRACK START OF WORKFLOW&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="CSA_SUBSCRIPTION_BACKFILL_CTRL_DF" >
</DICallStep>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="CSA_SUBSCRIPTION_FK_BACKFILL_CTRL_DF" >
</DICallStep>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="CSA_SUBSCRIPTION_LA_BACKFILL_CTRL_DF" >
</DICallStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script that calls the custom function that closes the metadata records that are part of tracking the workflow process."/>
<DIAttribute name="ui_display_name" value="CSA_SUBSCRIPTION_BACKFILL_CTRL_END_SC"/>
<DIAttribute name="ui_script_text" value="# CALL FUNCTION TO TRACK END OF WORKFLOW&#xA;ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The workflow catch object is the end of the TRY/CATCH block in BO DS.  This catch block contains the script object that calls a custom fail workflow function used to write the metadata for failed jobs."/>
<DIAttribute name="ui_display_name" value="CSA_SUBSCRIPTION_BACKFILL_CTRL_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that is used to write the metadata for failed workflows."/>
<DIAttribute name="ui_display_name" value="CSA_SUBSCRIPTION_BACKFILL_CTRL_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="# CALL FUNCTION TO TRACK FAIL OF WORKFLOW&#xA;ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="CSA_SUBSCRIPTION_BACKFILL_CTRL_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="QRY_EK - Get a list of all ENTERPRISE_KEYs corresponding to BUSINESS_KEYs in SSI_V.&#xD;&#xA;QRY_MATCH - return all BUSINESS_KEYs and CP_IDs associated with those EKs.&#xD;&#xA;QRY_LOOKUP - lookup against CSA_SUBSCRIPTION_SSI to see if that BK / CP exists already.&#xD;&#xA;QRY_FILTER - If it DOES NOT exist, add it to the CTRL file."/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="Description" value="The dataflow queries for the consolidated key from each source and for only those records in the consolidation that have not been updated"/>
</DIProperties>
<DITransforms>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Query for the consolidated key from each source and for only those records in the consolidation that have not been updated"/>
<DIAttribute name="ui_acta_from_schema_0" value="SUBSCRIPTION_ENTERPRISE_XREF"/>
<DIAttribute name="ui_acta_from_schema_1" value="SUBSCRIPTION_SSI_V"/>
<DIAttribute name="ui_display_name" value="QRY_EK"/>
<DIAttribute name="ui_where_text" value="SUBSCRIPTION_ENTERPRISE_XREF.BUSINESS_KEYVALUE = SUBSCRIPTION_SSI_V.MD_BUSINESS_KEY&#xD;&#xA;and SUBSCRIPTION_ENTERPRISE_XREF.MD_CP_ID = SUBSCRIPTION_SSI_V.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_EK" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SUBSCRIPTION_ENTERPRISE_XREF.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="SUBSCRIPTION_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="SUBSCRIPTION_SSI_V" />
<DITableSpec name="SUBSCRIPTION_ENTERPRISE_XREF" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="((SUBSCRIPTION_ENTERPRISE_XREF.BUSINESS_KEYVALUE = SUBSCRIPTION_SSI_V.MD_BUSINESS_KEY) AND&#xA;   (SUBSCRIPTION_ENTERPRISE_XREF.MD_CP_ID = SUBSCRIPTION_SSI_V.MD_CP_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_SSI_V" column="MD_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_SSI_V" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
<DIGroupBy>
<DIExpression isString="true" expr="SUBSCRIPTION_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIGroupBy>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_SUBSCRIPTION_SSNP_CTRL" >
<DIInputView name="QRY_FILTER"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit>1000</bulk_ldr_rows_per_commit>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>No</loader_auto_correct>
                <loader_bulk_load>1</loader_bulk_load>
                <loader_compare_column>Compare by name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>overflow_file</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>No</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>No</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>truncate</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>No</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SUBSCRIPTION_ENTERPRISE_XREF" >
<DIOutputView name="SUBSCRIPTION_ENTERPRISE_XREF"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="QRY_LOOKUP"/>
</DIUIOptions>
<DISchema name="QRY_LOOKUP" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="Merge.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="Merge.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SSI_EXISTS" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_SUBSCRIPTION_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', Merge.MD_BUSINESS_KEY, MD_CP_ID, '=', Merge.MD_CP_ID  ]) &#xD;&#xA;SET(&quot;run_as_separate_process&quot; = 'no')"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="Merge.MD_CP_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="Merge.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="Merge.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_SUBSCRIPTION_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', Merge.MD_BUSINESS_KEY, MD_CP_ID, '=', Merge.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;" >
<FUNCTION_CALL name="lookup_ext"  type="DI" tableDatastore="SRCSTAGING_DS" tableOwner="SRCSTAGING_ALIAS" tableName="CSA_SUBSCRIPTION_SSI" >
<CONSTANT value="PRE_LOAD_CACHE" datatype="VARCHAR" size="14" />
<CONSTANT value="MAX" datatype="VARCHAR" size="3" />
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_CP_ID" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
<DIAttributes>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</FUNCTION_CALL>
</DIExpression>
<DIExpression isString="true" expr="Merge.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="Merge" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="Merge" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="SUBSCRIPTION_ENTERPRISE_XREF"/>
<DIAttribute name="ui_acta_from_schema_1" value="QRY_EK"/>
<DIAttribute name="ui_display_name" value="QRY_MATCH"/>
<DIAttribute name="ui_where_text" value="(QRY_EK.MD_ENTERPRISE_KEY = SUBSCRIPTION_ENTERPRISE_XREF.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_MATCH" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_EK.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SUBSCRIPTION_ENTERPRISE_XREF.BUSINESS_KEYVALUE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SUBSCRIPTION_ENTERPRISE_XREF.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_EK.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_EK" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="SUBSCRIPTION_ENTERPRISE_XREF.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="SUBSCRIPTION_ENTERPRISE_XREF.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="SUBSCRIPTION_ENTERPRISE_XREF" />
<DITableSpec name="QRY_EK" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_EK.MD_ENTERPRISE_KEY = SUBSCRIPTION_ENTERPRISE_XREF.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_EK" column="MD_ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_LOOKUP"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER"/>
<DIAttribute name="ui_where_text" value="QRY_LOOKUP.SSI_EXISTS = 'None'"/>
</DIUIOptions>
<DISchema name="QRY_FILTER" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BATCH_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_PROCESS_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_LOOKUP" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_LOOKUP.SSI_EXISTS = 'None')" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="SSI_EXISTS" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SUBSCRIPTION_SSI_V" >
<DIOutputView name="SUBSCRIPTION_SSI_V"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SUBSCRIPTION_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="SUBSCRIPTION_HISTORY_ENTERPRISE_XREF"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="SUBSCRIPTION_HISTORY_ENTERPRISE_XREF"/>
<DIAttribute name="ui_display_name" value="QRY_DISTINCT"/>
</DIUIOptions>
<DISchema name="QRY_DISTINCT" >
<DIElement name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SUBSCRIPTION_HISTORY_ENTERPRISE_XREF.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="SUBSCRIPTION_HISTORY_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_HISTORY_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="SUBSCRIPTION_HISTORY_ENTERPRISE_XREF" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="SUBSCRIPTION_ENTERPRISE_XREF"/>
<DIAttribute name="ui_acta_from_schema_1" value="QRY_DISTINCT"/>
<DIAttribute name="ui_display_name" value="QRY_HIS"/>
<DIAttribute name="ui_where_text" value="(QRY_DISTINCT.ENTERPRISE_KEY=SUBSCRIPTION_ENTERPRISE_XREF.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_HIS" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SUBSCRIPTION_ENTERPRISE_XREF.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SUBSCRIPTION_ENTERPRISE_XREF.BUSINESS_KEYVALUE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SUBSCRIPTION_ENTERPRISE_XREF.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="SUBSCRIPTION_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="SUBSCRIPTION_ENTERPRISE_XREF.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="SUBSCRIPTION_ENTERPRISE_XREF.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_DISTINCT" />
<DITableSpec name="SUBSCRIPTION_ENTERPRISE_XREF" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_DISTINCT.ENTERPRISE_KEY = SUBSCRIPTION_ENTERPRISE_XREF.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_DISTINCT" column="ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIInputView name="QRY_HIS"  />
<DIInputView name="QRY_MATCH"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>
</DITransforms>
<DIAttributes>
<DIAttribute name="Audit" hasNestedXMLTree ="true">
<Audit>
          <AuditObjects/>
          <AuditRules/>
          <Notifications>
            <RaiseException Enabled="true"/>
            <Mail Enabled="false"/>
            <Script Enabled="false"/>
          </Notifications>
        </Audit>
</DIAttribute>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIDataflow name="CSA_SUBSCRIPTION_FK_BACKFILL_CTRL_DF" typeId="1" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DITransforms>
<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_SUBSCRIPTION_SSNP" >
<DIOutputView name="CSA_SUBSCRIPTION_SSNP"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SUBSCRIPTION_ENTERPRISE_XREF" >
<DIOutputView name="SUBSCRIPTION_ENTERPRISE_XREF"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="PERSON_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="PERSON_HISTORY_ENTERPRISE_XREF1"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_SUBSCRIPTION_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="PERSON_HISTORY_ENTERPRISE_XREF1"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_1"/>
<DIAttribute name="ui_where_text" value="PERSON_HISTORY_ENTERPRISE_XREF1.BUSINESS_KEYVALUE=CSA_SUBSCRIPTION_SSNP.PERSON_BUSINESS_KEY and &#xD;&#xA;PERSON_HISTORY_ENTERPRISE_XREF1.MD_CP_ID=CSA_SUBSCRIPTION_SSNP.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_1" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_SUBSCRIPTION_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_SUBSCRIPTION_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_SUBSCRIPTION_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_SUBSCRIPTION_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_SUBSCRIPTION_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_SUBSCRIPTION_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_SUBSCRIPTION_SSNP" />
<DITableSpec name="PERSON_HISTORY_ENTERPRISE_XREF1" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((PERSON_HISTORY_ENTERPRISE_XREF1.BUSINESS_KEYVALUE = CSA_SUBSCRIPTION_SSNP.PERSON_BUSINESS_KEY) AND&#xA;   (PERSON_HISTORY_ENTERPRISE_XREF1.MD_CP_ID = CSA_SUBSCRIPTION_SSNP.MD_CP_ID)) AND&#xA;   (PERSON_HISTORY_ENTERPRISE_XREF1.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PERSON_HISTORY_ENTERPRISE_XREF1" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_SUBSCRIPTION_SSNP" column="PERSON_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PERSON_HISTORY_ENTERPRISE_XREF1" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_SUBSCRIPTION_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PERSON_HISTORY_ENTERPRISE_XREF1" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="ORG_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="ORG_HISTORY_ENTERPRISE_XREF2"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_SUBSCRIPTION_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="ORG_HISTORY_ENTERPRISE_XREF2"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_2"/>
<DIAttribute name="ui_where_text" value="ORG_HISTORY_ENTERPRISE_XREF2.BUSINESS_KEYVALUE=CSA_SUBSCRIPTION_SSNP.ORG_BUSINESS_KEY and &#xD;&#xA;ORG_HISTORY_ENTERPRISE_XREF2.MD_CP_ID=CSA_SUBSCRIPTION_SSNP.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_2" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_SUBSCRIPTION_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_SUBSCRIPTION_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_SUBSCRIPTION_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_SUBSCRIPTION_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_SUBSCRIPTION_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_SUBSCRIPTION_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_SUBSCRIPTION_SSNP" />
<DITableSpec name="ORG_HISTORY_ENTERPRISE_XREF2" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((ORG_HISTORY_ENTERPRISE_XREF2.BUSINESS_KEYVALUE = CSA_SUBSCRIPTION_SSNP.ORG_BUSINESS_KEY) AND&#xA;   (ORG_HISTORY_ENTERPRISE_XREF2.MD_CP_ID = CSA_SUBSCRIPTION_SSNP.MD_CP_ID)) AND&#xA;   (ORG_HISTORY_ENTERPRISE_XREF2.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="ORG_HISTORY_ENTERPRISE_XREF2" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_SUBSCRIPTION_SSNP" column="ORG_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="ORG_HISTORY_ENTERPRISE_XREF2" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_SUBSCRIPTION_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="ORG_HISTORY_ENTERPRISE_XREF2" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF" >
<DIOutputView name="SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF3"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_SUBSCRIPTION_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF3"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_3"/>
<DIAttribute name="ui_where_text" value="SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF3.BUSINESS_KEYVALUE=CSA_SUBSCRIPTION_SSNP.SERVICE_OFFERING_BUSINESS_KEY and &#xD;&#xA;SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF3.MD_CP_ID=CSA_SUBSCRIPTION_SSNP.MD_CP_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_3" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_SUBSCRIPTION_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_SUBSCRIPTION_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_SUBSCRIPTION_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_SUBSCRIPTION_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_SUBSCRIPTION_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_SUBSCRIPTION_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_SUBSCRIPTION_SSNP" />
<DITableSpec name="SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF3" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF3.BUSINESS_KEYVALUE = CSA_SUBSCRIPTION_SSNP.SERVICE_OFFERING_BUSINESS_KEY) AND&#xA;   (SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF3.MD_CP_ID = CSA_SUBSCRIPTION_SSNP.MD_CP_ID)) AND&#xA;   (SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF3.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF3" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_SUBSCRIPTION_SSNP" column="SERVICE_OFFERING_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF3" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_SUBSCRIPTION_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_HISTORY_ENTERPRISE_XREF3" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="Merge_BK"/>
<DIAttribute name="ui_acta_from_schema_1" value="SUBSCRIPTION_ENTERPRISE_XREF"/>
<DIAttribute name="ui_display_name" value="QRY_GET_EK"/>
<DIAttribute name="ui_where_text" value="((Merge_BK.MD_BUSINESS_KEY = SUBSCRIPTION_ENTERPRISE_XREF.BUSINESS_KEYVALUE) AND&#xD;&#xA;   (Merge_BK.MD_CP_ID = SUBSCRIPTION_ENTERPRISE_XREF.MD_CP_ID))"/>
</DIUIOptions>
<DISchema name="QRY_GET_EK" >
<DIElement name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SUBSCRIPTION_ENTERPRISE_XREF.ENTERPRISE_KEY&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="SUBSCRIPTION_ENTERPRISE_XREF.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="SUBSCRIPTION_ENTERPRISE_XREF" />
<DITableSpec name="Merge_BK" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="((Merge_BK.MD_BUSINESS_KEY = SUBSCRIPTION_ENTERPRISE_XREF.BUSINESS_KEYVALUE) AND&#xA;   (Merge_BK.MD_CP_ID = SUBSCRIPTION_ENTERPRISE_XREF.MD_CP_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_GET_EK"/>
<DIAttribute name="ui_acta_from_schema_1" value="SUBSCRIPTION_ENTERPRISE_XREF"/>
<DIAttribute name="ui_display_name" value="QRY_MATCH"/>
<DIAttribute name="ui_where_text" value="(QRY_GET_EK.ENTERPRISE_KEY = SUBSCRIPTION_ENTERPRISE_XREF.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_MATCH" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_GET_EK.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SUBSCRIPTION_ENTERPRISE_XREF.BUSINESS_KEYVALUE&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SUBSCRIPTION_ENTERPRISE_XREF.MD_CP_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_GET_EK.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="SUBSCRIPTION_ENTERPRISE_XREF.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="SUBSCRIPTION_ENTERPRISE_XREF.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_GET_EK" />
<DITableSpec name="SUBSCRIPTION_ENTERPRISE_XREF" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_GET_EK.ENTERPRISE_KEY = SUBSCRIPTION_ENTERPRISE_XREF.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_MATCH"/>
<DIAttribute name="ui_display_name" value="QRY_LOOKUP"/>
</DIUIOptions>
<DISchema name="QRY_LOOKUP" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SSI_EXISTS" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_SUBSCRIPTION_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_MATCH.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_SUBSCRIPTION_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;" >
<FUNCTION_CALL name="lookup_ext"  type="DI" tableDatastore="SRCSTAGING_DS" tableOwner="SRCSTAGING_ALIAS" tableName="CSA_SUBSCRIPTION_SSI" >
<CONSTANT value="PRE_LOAD_CACHE" datatype="VARCHAR" size="14" />
<CONSTANT value="MAX" datatype="VARCHAR" size="3" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
<DIAttributes>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</FUNCTION_CALL>
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_MATCH" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_LOOKUP"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER"/>
<DIAttribute name="ui_where_text" value="(QRY_LOOKUP.SSI_EXISTS = 'None')"/>
</DIUIOptions>
<DISchema name="QRY_FILTER" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BATCH_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_PROCESS_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_LOOKUP" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_LOOKUP.SSI_EXISTS = 'None')" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="SSI_EXISTS" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_SUBSCRIPTION_SSNP_CTRL" >
<DIInputView name="QRY_FILTER"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>overflow_file</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>truncate</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Merge_BK"/>
</DIUIOptions>
<DIInputView name="QRY_JOIN_1"  />
<DIInputView name="QRY_JOIN_2"  />
<DIInputView name="QRY_JOIN_3"  />
<DISchema name="Merge_BK" >
</DISchema>
</DITransformCall>
</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIDataflow name="CSA_SUBSCRIPTION_LA_BACKFILL_CTRL_DF" typeId="1" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DITransforms>
<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SUBSCRIPTION_ENTERPRISE_XREF" >
<DIOutputView name="SUBSCRIPTION_ENTERPRISE_XREF_1"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_SUBSCRIPTION_SSNP" >
<DIOutputView name="CSA_SUBSCRIPTION_SSNP"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="PERSON_ENTERPRISE_XREF" >
<DIOutputView name="PERSON_ENTERPRISE_XREF1"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_SUBSCRIPTION_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="PERSON_ENTERPRISE_XREF1"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_1"/>
<DIAttribute name="ui_where_text" value="PERSON_ENTERPRISE_XREF1.BUSINESS_KEYVALUE=CSA_SUBSCRIPTION_SSNP.PERSON_BUSINESS_KEY and &#xD;&#xA;PERSON_ENTERPRISE_XREF1.MD_CP_ID=CSA_SUBSCRIPTION_SSNP.MD_CP_ID and &#xD;&#xA;PERSON_ENTERPRISE_XREF1.MD_BATCH_ID=$G_BATCH_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_1" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_SUBSCRIPTION_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_SUBSCRIPTION_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_SUBSCRIPTION_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_SUBSCRIPTION_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_SUBSCRIPTION_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_SUBSCRIPTION_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_SUBSCRIPTION_SSNP" />
<DITableSpec name="PERSON_ENTERPRISE_XREF1" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((PERSON_ENTERPRISE_XREF1.BUSINESS_KEYVALUE = CSA_SUBSCRIPTION_SSNP.PERSON_BUSINESS_KEY) AND&#xA;   (PERSON_ENTERPRISE_XREF1.MD_CP_ID = CSA_SUBSCRIPTION_SSNP.MD_CP_ID)) AND&#xA;   (PERSON_ENTERPRISE_XREF1.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF1" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_SUBSCRIPTION_SSNP" column="PERSON_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF1" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_SUBSCRIPTION_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PERSON_ENTERPRISE_XREF1" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="ORG_ENTERPRISE_XREF" >
<DIOutputView name="ORG_ENTERPRISE_XREF2"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_SUBSCRIPTION_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="ORG_ENTERPRISE_XREF2"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_2"/>
<DIAttribute name="ui_where_text" value="ORG_ENTERPRISE_XREF2.BUSINESS_KEYVALUE=CSA_SUBSCRIPTION_SSNP.ORG_BUSINESS_KEY and &#xD;&#xA;ORG_ENTERPRISE_XREF2.MD_CP_ID=CSA_SUBSCRIPTION_SSNP.MD_CP_ID and &#xD;&#xA;ORG_ENTERPRISE_XREF2.MD_BATCH_ID=$G_BATCH_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_2" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_SUBSCRIPTION_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_SUBSCRIPTION_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_SUBSCRIPTION_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_SUBSCRIPTION_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_SUBSCRIPTION_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_SUBSCRIPTION_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_SUBSCRIPTION_SSNP" />
<DITableSpec name="ORG_ENTERPRISE_XREF2" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((ORG_ENTERPRISE_XREF2.BUSINESS_KEYVALUE = CSA_SUBSCRIPTION_SSNP.ORG_BUSINESS_KEY) AND&#xA;   (ORG_ENTERPRISE_XREF2.MD_CP_ID = CSA_SUBSCRIPTION_SSNP.MD_CP_ID)) AND&#xA;   (ORG_ENTERPRISE_XREF2.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF2" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_SUBSCRIPTION_SSNP" column="ORG_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF2" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_SUBSCRIPTION_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="ORG_ENTERPRISE_XREF2" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="DWSTAGING_DS" ownerName="DWSTAGING_ALIAS" tableName="SERVICE_OFFERING_ENTERPRISE_XREF" >
<DIOutputView name="SERVICE_OFFERING_ENTERPRISE_XREF3"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="DWSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="CSA_SUBSCRIPTION_SSNP"/>
<DIAttribute name="ui_acta_from_schema_1" value="SERVICE_OFFERING_ENTERPRISE_XREF3"/>
<DIAttribute name="ui_display_name" value="QRY_JOIN_3"/>
<DIAttribute name="ui_where_text" value="SERVICE_OFFERING_ENTERPRISE_XREF3.BUSINESS_KEYVALUE=CSA_SUBSCRIPTION_SSNP.SERVICE_OFFERING_BUSINESS_KEY and &#xD;&#xA;SERVICE_OFFERING_ENTERPRISE_XREF3.MD_CP_ID=CSA_SUBSCRIPTION_SSNP.MD_CP_ID and &#xD;&#xA;SERVICE_OFFERING_ENTERPRISE_XREF3.MD_BATCH_ID=$G_BATCH_ID"/>
</DIUIOptions>
<DISchema name="QRY_JOIN_3" >
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_SUBSCRIPTION_SSNP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CSA_SUBSCRIPTION_SSNP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="CSA_SUBSCRIPTION_SSNP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CSA_SUBSCRIPTION_SSNP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CSA_SUBSCRIPTION_SSNP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CSA_SUBSCRIPTION_SSNP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CSA_SUBSCRIPTION_SSNP" />
<DITableSpec name="SERVICE_OFFERING_ENTERPRISE_XREF3" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(((SERVICE_OFFERING_ENTERPRISE_XREF3.BUSINESS_KEYVALUE = CSA_SUBSCRIPTION_SSNP.SERVICE_OFFERING_BUSINESS_KEY) AND&#xA;   (SERVICE_OFFERING_ENTERPRISE_XREF3.MD_CP_ID = CSA_SUBSCRIPTION_SSNP.MD_CP_ID)) AND&#xA;   (SERVICE_OFFERING_ENTERPRISE_XREF3.MD_BATCH_ID = $G_BATCH_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF3" column="BUSINESS_KEYVALUE" />
<COLUMN_REFERENCE  qualifier1="CSA_SUBSCRIPTION_SSNP" column="SERVICE_OFFERING_BUSINESS_KEY" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF3" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="CSA_SUBSCRIPTION_SSNP" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="SERVICE_OFFERING_ENTERPRISE_XREF3" column="MD_BATCH_ID" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Merge_BK"/>
</DIUIOptions>
<DIInputView name="QRY_JOIN_1"  />
<DIInputView name="QRY_JOIN_2"  />
<DIInputView name="QRY_JOIN_3"  />
<DISchema name="Merge_BK" >
</DISchema>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_LOOKUP"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER"/>
<DIAttribute name="ui_where_text" value="(QRY_LOOKUP.SSI_EXISTS = 'None')"/>
</DIUIOptions>
<DISchema name="QRY_FILTER" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_LOOKUP.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BATCH_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_PROCESS_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_LOOKUP.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_LOOKUP" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_LOOKUP.SSI_EXISTS = 'None')" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_LOOKUP" column="SSI_EXISTS" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_MATCH"/>
<DIAttribute name="ui_display_name" value="QRY_LOOKUP"/>
</DIUIOptions>
<DISchema name="QRY_LOOKUP" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SSI_EXISTS" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_SUBSCRIPTION_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="INT" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_MATCH.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_MATCH.MD_ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="lookup_ext([SRCSTAGING_DS.SRCSTAGING_ALIAS.CSA_SUBSCRIPTION_SSI, 'PRE_LOAD_CACHE', 'MAX'], [ MD_BUSINESS_KEY ], [ 'None' ], [ MD_BUSINESS_KEY, '=', QRY_MATCH.MD_BUSINESS_KEY, MD_CP_ID, '=', QRY_MATCH.MD_CP_ID ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;" >
<FUNCTION_CALL name="lookup_ext"  type="DI" tableDatastore="SRCSTAGING_DS" tableOwner="SRCSTAGING_ALIAS" tableName="CSA_SUBSCRIPTION_SSI" >
<CONSTANT value="PRE_LOAD_CACHE" datatype="VARCHAR" size="14" />
<CONSTANT value="MAX" datatype="VARCHAR" size="3" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
<CONSTANT value="None" datatype="VARCHAR" size="4" />
<DIAttributes>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</FUNCTION_CALL>
</DIExpression>
<DIExpression isString="true" expr="QRY_MATCH.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="QRY_MATCH" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_MATCH" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="SUBSCRIPTION_ENTERPRISE_XREF_1"/>
<DIAttribute name="ui_acta_from_schema_1" value="QRY_GET_EK"/>
<DIAttribute name="ui_display_name" value="QRY_MATCH"/>
<DIAttribute name="ui_where_text" value="(QRY_GET_EK.ENTERPRISE_KEY = SUBSCRIPTION_ENTERPRISE_XREF_1.ENTERPRISE_KEY)"/>
</DIUIOptions>
<DISchema name="QRY_MATCH" >
<DIElement name="MD_ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="QRY_GET_EK.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SUBSCRIPTION_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SUBSCRIPTION_ENTERPRISE_XREF_1.MD_CP_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="QRY_GET_EK.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
</DIExpression>
<DIExpression isString="true" expr="SUBSCRIPTION_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE" >
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF_1" column="BUSINESS_KEYVALUE" />
</DIExpression>
<DIExpression isString="true" expr="SUBSCRIPTION_ENTERPRISE_XREF_1.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF_1" column="MD_CP_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="QRY_GET_EK" />
<DITableSpec name="SUBSCRIPTION_ENTERPRISE_XREF_1" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(QRY_GET_EK.ENTERPRISE_KEY = SUBSCRIPTION_ENTERPRISE_XREF_1.ENTERPRISE_KEY)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_GET_EK" column="ENTERPRISE_KEY" />
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF_1" column="ENTERPRISE_KEY" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="SUBSCRIPTION_ENTERPRISE_XREF_1"/>
<DIAttribute name="ui_acta_from_schema_1" value="Merge_BK"/>
<DIAttribute name="ui_display_name" value="QRY_GET_EK"/>
<DIAttribute name="ui_where_text" value="((Merge_BK.MD_BUSINESS_KEY = SUBSCRIPTION_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE) AND&#xA;   (Merge_BK.MD_CP_ID = SUBSCRIPTION_ENTERPRISE_XREF_1.MD_CP_ID))"/>
</DIUIOptions>
<DISchema name="QRY_GET_EK" >
<DIElement name="ENTERPRISE_KEY" datatype="DECIMAL" precision="18" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="SUBSCRIPTION_ENTERPRISE_XREF_1.ENTERPRISE_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect isDistinct="true">
<DIProjection>
<DIExpression isString="true" expr="SUBSCRIPTION_ENTERPRISE_XREF_1.ENTERPRISE_KEY" >
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF_1" column="ENTERPRISE_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="SUBSCRIPTION_ENTERPRISE_XREF_1" />
<DITableSpec name="Merge_BK" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="((Merge_BK.MD_BUSINESS_KEY = SUBSCRIPTION_ENTERPRISE_XREF_1.BUSINESS_KEYVALUE) AND&#xA;   (Merge_BK.MD_CP_ID = SUBSCRIPTION_ENTERPRISE_XREF_1.MD_CP_ID))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_BUSINESS_KEY" />
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF_1" column="BUSINESS_KEYVALUE" />
</LOGICAL_OP>
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="Merge_BK" column="MD_CP_ID" />
<COLUMN_REFERENCE  qualifier1="SUBSCRIPTION_ENTERPRISE_XREF_1" column="MD_CP_ID" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="CSA_SUBSCRIPTION_SSNP_CTRL" >
<DIInputView name="QRY_FILTER"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>overflow_file</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>truncate</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>

</DataIntegratorExport>

